

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --neust-blue:       #0A3A8A;
    --neust-blue-mid:   #1251B5;
    --neust-blue-light: #1a6ee0;
    --neust-gold:       #F29A1E;
    --neust-gold-dark:  #d4830a;
    --neust-dark:       #0D1B2A;
    --neust-dark-2:     #112240;
    --body-font:        'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --glass-bg:         rgba(255, 255, 255, 0.06);
    --glass-border:     rgba(255, 255, 255, 0.15);
    --input-radius:     14px;
    --card-radius:      20px;
    --transition:       all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--body-font);
    background-color: #f0f4f8;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.login-container {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
}

.brand-panel {
    background-color: #051840;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 3rem 2.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.brand-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 62%;
    background: url('../../image/campus-bg.jpg') center top / cover no-repeat;
    border-radius: 0;
    z-index: 0;
    pointer-events: none;
}

.brand-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(5, 22, 58, 0.08) 0%,
        rgba(5, 22, 58, 0.26) 28%,
        rgba(8, 39, 98, 0.78) 46%,
        #092d70 58%,
        #072258 78%,
        #051840 100%
    );
    border-radius: 0;
    z-index: 0;
    pointer-events: none;
}

.brand-panel-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 1;
}

.brand-top-pill-wrap {
    position: absolute;
    top: 6.5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: max-content;
    max-width: 92%;
    text-align: center;
}

.brand-top-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    letter-spacing: 0.25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.glass-card {
    background: linear-gradient(180deg, rgba(32, 52, 92, 0.62) 0%, rgba(10, 32, 76, 0.78) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 26px;
    padding: 4.1rem 2.6rem 2.3rem 2.6rem;
    margin-top: 3rem;
    max-width: 430px;
    width: 100%;
    text-align: center;
    z-index: 2;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255,255,255,0.18);
    animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both, glassGlow 5s ease-in-out infinite;
    position: relative;
    overflow: visible;
}

@keyframes glassGlow {
    0%, 100% { box-shadow: 0 24px 60px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.18); }
    50%       { box-shadow: 0 24px 60px rgba(242,154,30,0.14), inset 0 1px 0 rgba(255,255,255,0.24); }
}

.logo-img {
    filter: drop-shadow(0 8px 18px rgba(4, 15, 42, 0.48));
    transition: var(--transition);
}
.logo-main {
    position: absolute;
    top: -54px;
    left: 50%;
    transform: translateX(-50%);
    width: 108px;
    height: 108px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    margin: 0;
    animation: desktopLogoFloat 4s ease-in-out infinite;
    z-index: 4;
}
@keyframes desktopLogoFloat {
    0%, 100% { transform: translate(-50%, 0); }
    50%       { transform: translate(-50%, -8px); }
}

.logo-mobile-img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    background: transparent;
    padding: 0;
}

.brand-title {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 30%, #F29A1E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-subtitle {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(191, 219, 254, 0.88);
    margin-top: 0.75rem;
    margin-bottom: 0;
    letter-spacing: 0.2px;
}

.brand-features {
    list-style: none;
    padding: 0;
    margin: 1.8rem 0 0;
    text-align: left;
    z-index: 2;
    position: relative;
}
.brand-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 0.7rem;
}
.brand-features li i {
    width: 30px;
    height: 30px;
    background: rgba(242,154,30,0.16);
    border: 1px solid rgba(242,154,30,0.35);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neust-gold);
    font-size: 0.78rem;
    flex-shrink: 0;
}

.copyright-text { font-size: 0.78rem; opacity: 0.55; }

.form-panel {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3.5rem 3rem;
    overflow-y: auto;
    position: relative;
}

.form-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(10,58,138,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.login-wrapper {
    max-width: 430px;
    width: 100%;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.register-wrapper {
    max-width: 720px !important;
}

.form-header { margin-bottom: 2rem; }

.form-header h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--neust-dark);
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}

.form-header p {
    color: #6B7280;
    font-size: 0.93rem;
    margin: 0;
}

.form-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef4ff 0%, #dce9ff 100%);
    border: 1px solid rgba(10,58,138,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 8px 24px rgba(10,58,138,0.1);
}
.form-icon-badge i {
    font-size: 1.65rem;
    color: var(--neust-blue);
}

.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: var(--input-radius);
    border: 1.5px solid #E5E7EB;
    background-color: #F8FAFC;
    font-family: var(--body-font);
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--neust-dark);
    transition: var(--transition);
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--neust-blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(10,58,138,0.1), 0 4px 16px rgba(10,58,138,0.08);
    transform: translateY(-1px);
    outline: none;
}

.form-floating > .form-control.is-valid,
.form-floating > .form-select.is-valid,
.form-control.is-valid,
.form-select.is-valid {
    border-color: #16a34a !important;
    background-color: #f0fdf4 !important;
    background-image: none !important;
    box-shadow: 0 0 0 1px #16a34a !important;
    padding-right: 42px !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-floating > .form-select.is-valid,
.form-floating > input[type="date"].form-control.is-valid {
    padding-right: 64px !important;
}

.form-floating > .form-select.is-valid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
}

input:-webkit-autofill.is-valid,
input:-webkit-autofill.is-valid:hover,
input:-webkit-autofill.is-valid:focus,
input:-internal-autofill-selected.is-valid {
    -webkit-box-shadow: 0 0 0 1000px #f0fdf4 inset, 0 0 0 1px #16a34a !important;
    -webkit-text-fill-color: #0f172a !important;
    background-color: #f0fdf4 !important;
    border-color: #16a34a !important;
    box-shadow: 0 0 0 1000px #f0fdf4 inset, 0 0 0 1px #16a34a !important;
    transition: background-color 999999s ease-in-out 0s !important;
}

.form-floating {
    position: relative;
}
.field-check-badge {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #16a34a;
    font-size: 1.1rem;
    pointer-events: none;
    display: none;
    z-index: 10;
    line-height: 1;
}

.form-floating:has(select.is-valid) .field-check-badge,
.form-floating:has(input[type="date"].is-valid) .field-check-badge {
    right: 38px;
}

.form-floating > .form-control.is-valid ~ .field-check-badge,
.form-floating > .form-select.is-valid ~ .field-check-badge,
.form-floating:has(.is-valid) .field-check-badge {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.form-floating > .form-control.is-valid:focus,
.form-floating > .form-select.is-valid:focus,
.form-control.is-valid:focus,
.form-select.is-valid:focus {
    border-color: #16a34a !important;
    background-color: #f0fdf4 !important;
    box-shadow: 0 0 0 1px #16a34a !important;
}

.form-floating > .form-control.is-valid ~ label,
.form-floating > .form-select.is-valid ~ label {
    color: #16a34a !important;
    font-weight: 600;
}

.form-floating > .form-control.is-invalid,
.form-floating > .form-select.is-invalid,
.form-control.is-invalid {
    border-color: #dc3545 !important;
    background-color: #fff9f9 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc3545'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 20px 20px !important;
    padding-right: 42px !important;
    box-shadow: 0 0 0 3px rgba(220,53,69,0.1);
}

.form-floating > .form-control.is-invalid:focus,
.form-floating > .form-select.is-invalid:focus,
.form-control.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220,53,69,0.2) !important;
}

.form-floating > .form-control.is-invalid ~ label {
    color: #dc3545 !important;
}

@keyframes onAutoFillStart { from { opacity: 1; } to { opacity: 1; } }
input:-webkit-autofill {
    animation-name: onAutoFillStart;
}

.form-floating > label {
    color: #9CA3AF;
    font-size: 0.88rem;
    font-weight: 500;
    padding-left: 14px;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--neust-blue);
    font-size: 0.78rem;
}

.form-control[type="file"] {
    border-radius: var(--input-radius);
    border: 1.5px dashed #CBD5E1;
    background: #F8FAFC;
    font-size: 0.85rem;
    font-family: var(--body-font);
    padding: 0.55rem 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}
.form-control[type="file"]:hover {
    border-color: var(--neust-blue);
    background: #EEF4FF;
}

.form-floating > .form-select {
    padding-top: 1.625rem;
    padding-bottom: 0.4rem;
}

.password-toggle {
    cursor: pointer;
    color: #9CA3AF;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.password-toggle:hover { color: var(--neust-blue); }

.btn-login {
    background: linear-gradient(135deg, var(--neust-blue) 0%, var(--neust-blue-mid) 100%);
    border: none;
    border-radius: 14px;
    padding: 15px 24px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--body-font);
    color: white;
    letter-spacing: 0.3px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 20px rgba(10,58,138,0.25), 0 2px 6px rgba(10,58,138,0.15);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-login:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 32px rgba(10,58,138,0.35), 0 4px 10px rgba(10,58,138,0.2);
    color: white;
    background: linear-gradient(135deg, var(--neust-blue-mid) 0%, var(--neust-blue-light) 100%);
}
.btn-login:hover::before { opacity: 1; }

.btn-login:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow: 0 6px 16px rgba(10,58,138,0.25);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.forgot-password {
    color: var(--neust-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: color 0.2s;
    position: relative;
}
.forgot-password::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--neust-gold);
    transition: width 0.3s;
}
.forgot-password:hover { color: var(--neust-gold); }
.forgot-password:hover::after { width: 100%; }

.request-access {
    color: var(--neust-gold);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}
.request-access:hover { color: var(--neust-gold-dark); }

.remember-me-text { font-size: 0.88rem; }
.copyright-text { font-size: 0.8rem; }

.alert {
    border: none;
    border-radius: 14px;
    font-size: 0.88rem;
    font-family: var(--body-font);
    animation: alertSlide 0.4s ease-out;
}
.alert-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border-left: 4px solid #10b981;
}
.alert-danger {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    color: #9f1239;
    border-left: 4px solid #f43f5e;
}
@keyframes alertSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-check-input {
    width: 1.1em;
    height: 1.1em;
    border: 1.5px solid #CBD5E1;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}
.form-check-input:checked {
    background-color: var(--neust-blue);
    border-color: var(--neust-blue);
}
.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(10,58,138,0.15);
}
.form-check-label {
    font-size: 0.88rem;
    color: #6B7280;
    cursor: pointer;
}

.form-section-title {
    color: var(--neust-blue);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0.8rem;
    background: linear-gradient(90deg, rgba(10,58,138,0.07) 0%, transparent 100%);
    border-left: 3px solid var(--neust-gold);
    border-radius: 0 8px 8px 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

#pwdChecklist {
    list-style: none;
    padding: 12px 16px;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 0.8rem;
    display: none;
    margin: 0;
    gap: 0;
}
#pwdChecklist li {
    padding: 4px 0;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
#pwdChecklist li.passed { color: #059669; }
#pwdChecklist li.failed { color: #e11d48; }

.invalid-feedback {
    display: block;
    font-size: 0.75rem;
    color: #dc3545;
    margin-top: 4px;
    font-weight: 500;
}

.strength-meter {
    height: 5px;
    background: #E5E7EB;
    border-radius: 3px;
    margin-top: 10px;
    margin-bottom: 6px;
    overflow: hidden;
    display: none;
}
.strength-meter-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: all 0.45s ease;
}
.strength-text {
    font-size: 0.75rem;
    font-weight: 600;
    display: none;
    color: #6B7280;
}
.strength-weak   { background: linear-gradient(90deg, #f43f5e, #fb7185); width: 33%; }
.strength-medium { background: linear-gradient(90deg, #f59e0b, #fbbf24); width: 66%; }
.strength-strong { background: linear-gradient(90deg, #059669, #34d399); width: 100%; }
.text-weak   { color: #e11d48; }
.text-medium { color: #d97706; }
.text-strong { color: #059669; }

.file-upload-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4B5563;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.file-upload-label i { color: var(--neust-blue); font-size: 0.75rem; }

.terms-link {
    color: var(--neust-blue);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}
.terms-link:hover { color: var(--neust-gold); text-decoration: underline; }

.modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.18);
}
.modal-header {
    background: linear-gradient(135deg, var(--neust-dark) 0%, var(--neust-dark-2) 100%);
    border: none;
    padding: 1.5rem 2rem;
}
.modal-header .modal-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--body-font);
}
.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.7;
}
.modal-body {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #4B5563;
    padding: 1.5rem 2rem;
    text-align: justify;
}
.modal-body h6 {
    color: var(--neust-dark);
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 1.2rem;
}
.modal-footer {
    border: none;
    padding: 1rem 2rem 1.5rem;
}
.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--neust-blue) 0%, var(--neust-blue-mid) 100%);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-family: var(--body-font);
    padding: 10px 24px;
    transition: var(--transition);
}
.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10,58,138,0.3);
}

.anim-float { animation: floatIcon 3.5s ease-in-out infinite; }
@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px) scale(1.05); filter: drop-shadow(0 8px 12px rgba(10,58,138,0.2)); }
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 2rem 0;
}
.otp-field {
    width: 52px;
    height: 62px;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 800;
    font-family: var(--body-font);
    border: 2px solid #E5E7EB;
    border-radius: 14px;
    background: #F8FAFC;
    transition: var(--transition);
    color: var(--neust-blue);
    outline: none;
}
.otp-field:focus {
    border-color: var(--neust-blue);
    box-shadow: 0 0 0 4px rgba(10,58,138,0.12);
    background: #fff;
    transform: translateY(-2px);
}
.otp-field.filled {
    border-color: var(--neust-gold);
    background: #fffbf2;
    color: var(--neust-gold-dark);
}
.otp-field::placeholder { color: #CBD5E1; font-weight: 400; font-size: 1rem; }

.resend-timer { font-size: 0.85rem; color: #64748B; margin-top: 1rem; }

.anim-pulse { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.08); opacity: 0.8; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9CA3AF;
    font-size: 0.82rem;
    margin: 1.2rem 0;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}

.reg-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #eef4ff, #dce9ff);
    border: 1px solid rgba(10,58,138,0.12);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--neust-blue);
    margin-bottom: 0.5rem;
}

.g-recaptcha {
    transform-origin: center;
}

@media (max-width: 991.98px) {
    .brand-panel {
        display: none;
    }
    .form-panel {
        padding: 2.5rem 1.5rem;
        min-height: 100vh;
    }
    .logo-mobile {
        display: block !important;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .form-panel { padding: 2rem 1.25rem; }
    .login-wrapper { max-width: 100%; }
    .otp-field { width: 44px; height: 54px; font-size: 1.4rem; }
    .brand-title { font-size: 1.7rem; }
}

.logo-mobile { display: none; }

.mobile-two-tone-header {
    display: none;
}

.form-floating > .form-control {
    border-radius: 50px !important;
    padding-left: 20px !important;
    padding-right: 48px !important;
    background-color: #F8FAFC !important;
    border: 1.5px solid #E2E8F0 !important;
    font-size: 0.95rem !important;
    transition: all 0.25s ease !important;
}

.form-floating > .form-control:focus {
    border-color: #F29A1E !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(242, 154, 30, 0.15), 0 4px 16px rgba(10, 58, 138, 0.06) !important;
}

.form-floating > label {
    padding-left: 20px !important;
    font-size: 0.88rem !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--neust-blue, #0A3A8A) !important;
    padding-left: 20px !important;
}

.password-toggle {
    right: 20px !important;
}

.btn-login,
.btn-verify {
    background: linear-gradient(135deg, #0A3A8A 0%, #1554c0 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 13px 24px !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 22px rgba(10, 58, 138, 0.35) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.btn-login:hover,
.btn-verify:hover {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 12px 28px rgba(10, 58, 138, 0.45) !important;
    background: linear-gradient(135deg, #082d6b 0%, #0A3A8A 100%) !important;
    color: #ffffff !important;
}

.btn-login:active {
    transform: scale(0.98) !important;
}

.form-check-input:checked {
    background-color: #0A3A8A !important;
    border-color: #0A3A8A !important;
}

.forgot-password {
    color: #0A3A8A !important;
    font-weight: 600 !important;
    font-size: 0.88rem;
    text-decoration: none;
}

.forgot-password:hover {
    color: #F29A1E !important;
}

.request-access {
    color: #0A3A8A !important;
    font-weight: 700 !important;
    text-decoration: none;
}

.request-access:hover {
    color: #F29A1E !important;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    html, body {
        min-height: 100%;
        background-color: #0A3A8A !important;
        margin: 0;
        padding: 0;
    }

    .login-container {
        min-height: 100vh;
        min-height: 100dvh;
        display: flex !important;
        flex-direction: column !important;
        background: #0A3A8A !important;
        margin: 0 !important;
    }

    .brand-panel {
        display: none !important;
    }

    .mobile-two-tone-header {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        padding: 1.5rem 1rem 0 1rem;
        margin: 0 !important;
        top: 0 !important;
        position: relative;
        overflow: visible;
        width: 100%;
        height: 220px;
        min-height: 220px;
        flex-shrink: 0;
    }

    .mobile-campus-bg {
        position: absolute;
        inset: 0;
        background: url('../../image/campus-bg.jpg') center 22% / cover no-repeat;
        z-index: 1;
    }

    .mobile-campus-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(5, 22, 58, 0.18) 0%, rgba(5, 22, 58, 0.45) 50%, rgba(10, 58, 138, 0.92) 100%);
        z-index: 2;
    }

    .mobile-header-content {
        position: relative;
        z-index: 3;
        text-align: center;
    }

    .mobile-header-pill {
        display: inline-flex;
        align-items: center;
        background: rgba(5, 22, 58, 0.75);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        color: rgba(255, 255, 255, 0.95);
        font-size: 0.75rem;
        font-weight: 600;
        padding: 5px 16px;
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        letter-spacing: 0.3px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    }

    .mobile-seal-badge {
        position: absolute;
        bottom: -34px;
        left: 50%;
        transform: translate(-50%, 0);
        width: 68px;
        height: 68px;
        background: transparent !important;
        border-radius: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: none !important;
        margin-bottom: 0;
        z-index: 10;
        animation: logoFloating 3.2s ease-in-out infinite;
        will-change: transform;
    }

    .mobile-seal-badge img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 0;
        filter: drop-shadow(0 6px 14px rgba(5, 22, 58, 0.45));
    }

    @keyframes logoFloating {
        0%, 100% {
            transform: translate(-50%, 0);
        }
        50% {
            transform: translate(-50%, -6px);
        }
    }

    .form-panel {
        background: #ffffff !important;
        background-color: #ffffff !important;
        border-radius: 28px 28px 0 0 !important;
        padding: 2.85rem 1.6rem 1.5rem 1.6rem !important;
        box-shadow: 0 -12px 35px rgba(5, 22, 58, 0.25) !important;
        margin-top: 0 !important;
        min-height: calc(100vh - 220px) !important;
        min-height: calc(100dvh - 220px) !important;
        width: 100% !important;
        flex: 1 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative;
        z-index: 5;
    }

    .login-wrapper {
        max-width: 440px;
        width: 100%;
        margin: 0 auto;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 0 auto !important;
        justify-content: space-between !important;
    }

    #loginForm {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 0 auto !important;
    }

    .form-header {
        margin-bottom: 1.35rem !important;
        text-align: center;
    }

    .form-header h3 {
        color: #1e293b !important;
        font-size: 1.6rem !important;
        font-weight: 800 !important;
        margin-bottom: 0.35rem !important;
        letter-spacing: -0.3px;
    }

    .form-header p {
        color: #64748b !important;
        font-size: 0.88rem !important;
        margin-bottom: 0 !important;
        line-height: 1.45;
    }

    .form-floating.mb-3 {
        margin-bottom: 1.15rem !important;
    }

    .form-floating > .form-control {
        height: 52px !important;
        min-height: 52px !important;
        padding: 1.1rem 1.25rem 0.35rem 1.25rem !important;
        font-size: 0.95rem !important;
        background-color: #F8FAFC !important;
        border: 1.5px solid #E2E8F0 !important;
        color: #1e293b !important;
        border-radius: 50px !important;
    }

    .form-floating > .form-control:focus {
        border-color: #0A3A8A !important;
        background-color: #ffffff !important;
        box-shadow: 0 0 0 4px rgba(10, 58, 138, 0.15) !important;
    }

    .form-floating > label {
        padding: 0.85rem 1.25rem !important;
        font-size: 0.85rem !important;
        color: #64748b !important;
    }

    .password-toggle {
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 0.95rem !important;
        color: #64748b !important;
        right: 20px !important;
    }

    .d-flex.justify-content-between.align-items-center.mb-4 {
        margin-top: 0.25rem !important;
        margin-bottom: 1.35rem !important;
        padding: 0 0.25rem !important;
    }

    .remember-me-text {
        font-size: 0.86rem !important;
        color: #475569 !important;
    }

    .form-check-input:checked {
        background-color: #0A3A8A !important;
        border-color: #0A3A8A !important;
    }

    .forgot-password {
        color: #0A3A8A !important;
        font-size: 0.86rem !important;
        font-weight: 600 !important;
        text-decoration: none !important;
    }

    .forgot-password:hover {
        color: #1554c0 !important;
        text-decoration: underline !important;
    }

    .btn-login {
        background: linear-gradient(135deg, #0A3A8A 0%, #1554c0 100%) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 50px !important;
        height: 52px !important;
        min-height: 52px !important;
        padding: 0 24px !important;
        font-size: 1.02rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.4px;
        box-shadow: 0 8px 22px rgba(10, 58, 138, 0.35) !important;
        margin-bottom: 1.15rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    }

    .btn-login:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 10px 24px rgba(10, 58, 138, 0.45) !important;
        background: linear-gradient(135deg, #082d6b 0%, #0A3A8A 100%) !important;
    }

    .btn-login:active {
        transform: scale(0.98) !important;
    }

    .auth-divider {
        display: flex !important;
        align-items: center !important;
        margin: 1.15rem 0 !important;
        font-size: 0.82rem !important;
        color: #94a3b8 !important;
    }

    .remember-me-text.mb-0 {
        font-size: 0.88rem !important;
        color: #64748b !important;
        margin-bottom: 1rem !important;
    }

    .request-access {
        color: #0A3A8A !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }

    .request-access:hover {
        color: #1554c0 !important;
        text-decoration: underline !important;
    }

    .mobile-auth-footer {
        margin-top: auto !important;
        padding-top: 1.5rem !important;
        padding-bottom: 0.5rem !important;
        width: 100% !important;
        text-align: center !important;
    }

    .mobile-copyright-text {
        font-size: 0.78rem !important;
        color: #94a3b8 !important;
        font-weight: 500 !important;
        letter-spacing: 0.2px !important;
    }

    .logo-mobile {
        display: none !important;
    }
}