/* Mengatur font dan struktur body agar centering mutlak */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f7f9fa;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Wrapper pembungkus agar box selalu di tengah (Responsive Centering) */
.login-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 100px; /* Jarak untuk menghindari tumpang tindih dengan footer fixed */
}

.login-container {
    max-width: 1000px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    overflow: hidden;
    margin: auto;
}

/* Bagian Kiri (Orange Gradient) */
.login-left {
    background: linear-gradient(135deg, #d34c15, #f47521);
    color: #ffffff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-left .shield-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 30px;
}

.login-left h2 {
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 15px;
}

.login-left p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.feature-item {
    background: rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.15);
}

.feature-item i {
    margin-right: 15px;
    font-size: 18px;
    width: 25px;
    text-align: center;
}

/* Bagian Kanan (Form) */
.login-right {
    padding: 60px 50px;
}

.login-right h3 {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
}

.login-right .subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 40px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.input-group-text {
    background: transparent;
    border-right: none;
    color: #f47521;
}

.form-control {
    border-left: none;
    font-size: 14px;
    padding: 12px 15px;
}

.form-control:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

.input-group {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.form-check-label {
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
}

.btn-login {
    background: #f47521;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s ease;
}

.btn-login:hover {
    background: #d34c15;
    color: #fff;
}

.forgot-link {
    font-size: 13px;
    color: #f47521;
    text-decoration: none;
    font-weight: 500;
}

/* Garis Pembatas Abu-abu Transparan */
.form-divider {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 30px 0 20px;
}

.bottom-links {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-links a {
    color: #f47521;
    text-decoration: none;
    font-weight: 500;
}

.toggle-password {
    cursor: pointer;
    color: #6b7280;
    border-left: none;
    background: transparent;
}

/* Footer Partner section - Selalu Paling Bawah */
.partner-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.08); /* Shadow di bagian atas */
    border-bottom: 3px solid #FB862D; /* Garis Oranye di bagian bawah */
    padding: 15px 0 20px 0;
    text-align: center;
    z-index: 1000;
}

.partner-footer h6 {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.partner-logos img, .partner-logos span {
    font-size: 13px;
    height: 30px;
    margin: 0 15px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.partner-logos img:hover, .partner-logos span:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive Mobile view */
@media (max-width: 767px) {
    /* Sembunyikan Footer Partner & Teks Back to home */
    .partner-footer, .back-to-home {
        display: none !important;
    }
    
    /* Box form login turunin padding dan margin bawahnya */
    .login-wrapper {
        padding-bottom: 20px; 
        padding-top: 20px;
    }

    /* Membesarkan ukuran logo mobile sebesar 75% dari ukuran asli (misal asli 40px -> 70px) */
    .mobile-logo {
        max-height: 70px !important;
    }

    /* Atur bottom links agar text create account centering setelah link back to home dihilangkan */
    .bottom-links {
        justify-content: center;
    }
}