.container-login {
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* default mobile */
    background-color: #ffffff;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 992px) {
    .container-login {
        flex-direction: row; /* desktop 2 kolom */
    }
}

/* ===========================
   Bagian Gambar + Tulisan (kiri desktop)
=========================== */
.image-side {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    /*justify-content: center;*/
    padding: 10px 5px;
    flex: 1;
    order: 1; /* desktop kiri, mobile atas */
    text-align: center;
}

@media (min-width: 992px) {
    .image-side {
        order: 1; /* desktop kiri */
    }
}

.login-illustration {
    max-width: 100%;
    height: auto;
}

.title {
    font-weight: 700;
    font-size: 36px;
    color: #0A2540;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 18px;
    font-weight: bolder;
    color: #0A2540;
    margin-bottom: 0px;
}

.subtitle-child {
    font-size: 16px;
    color: #0A2540;
}

/* ===========================
   Bagian Form (kanan desktop)
=========================== */
.form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 5px;
    flex: 1;
    order: 2; /* desktop kanan, mobile bawah */
}

@media (min-width: 992px) {
    .form-side {
        order: 2; /* desktop kanan */
    }
}

.login-form-card {
    width: 100%;
    max-width: 100%;
    background: linear-gradient(to bottom, #0A2540, #3A6EA5);
    padding: 36px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.08);
}

@media (min-width: 992px) {
    .login-form-card {
        max-width: 500px; /* atur sesuai selera */
    }
}

/* Input melayang */
.login-form-card .form-control {
    height: 50px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

.login-form-card .form-control:focus {
    border-color: #556ee6;
    box-shadow: 0 8px 24px rgba(85,110,230,0.25);
    outline: none;
    transform: translateY(-2px);
}

.login-form-card .btn {
    border-radius: 12px;
}

/* Footer di bawah form */
.login-footer {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 16px;
    text-align: center;
}

.btn-primary-ungu {
    background: #ffffff;
    border: none;
    color: #0A2540;
    transition: all 0.3s ease;
}

.btn-primary-ungu:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(85,110,230,0.3);
    color: #0A2540;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #6b7280; /* abu-abu */
    user-select: none;
}

.password-toggle:hover {
    color: #556ee6; /* ungu/hover */
}

.position-relative {
    position: relative;
}

.security-info {
    margin-top: 20px;
    padding: 14px;
    background: #ffffff;
    border-radius: 6px;
    color: #ffffff;
}

.security-info h4 {
    color: #0A2540 !important;
    margin: 0 0 8px;
    font-size: 14px;
}

.security-info ul {
    color: #0A2540;
    padding-left: 18px;
    margin: 0;
}

.security-info li {
    font-size: 13px;
    margin-bottom: 6px;
}

.security-info p {
    font-size: 13px;
}

.is-invalid {
    border-color: #F64E60 !important;
}

.login-logo {
    width: 200px;
    height: 80px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.login-logo:hover {
    transform: scale(1.05);
}

.login-form-card .text-center {
    margin-bottom: 30px;
}

.text-muted {
    color: #ffffff !important;
}
