.modal-card {
    background: #fff;
    border-radius: 10px;
    width: 92%;
    max-width: 520px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(10px);
    opacity: 0;
    animation: modalIn 220ms ease-out forwards;
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    margin: 0;
    color: #0f172a;
    font-weight: 600;
}

.modal-body {
    padding: 20px;
    text-align: center;
}

.note {
    margin-top: 12px;
    color: #334155;
}

.progress {
    width: 100%;
    max-width: 420px;
    height: 10px;
    background: #e5e7eb;
    border-radius: 999px;
    margin: 8px auto 0;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 999px;
    transition: width 300ms ease;
}

@keyframes modalIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

body {
    background: #F1F3F6;
}

.auth-center {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 50px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 900;
    pointer-events: none;
}

.auth-card {
    width: min(820px, 94vw);
    background: #ffffff;
    border: 2px solid #00659F;
    border-radius: 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset, inset 0 8px 0 0 #00659F;
    overflow: hidden;
    pointer-events: auto;
}

.auth-card-header {
    padding: 40px 32px 0;
}

.auth-card-header h2 {
    margin: 0 0 14px 0;
    color: #0f172a;
    font-weight: 700;
    text-align: center;
}

.auth-toggle-row {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding-bottom: 8px;
}

.auth-toggle-btn {
    border: none;
    background: #00659F;
    color: white;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    min-width: 160px;
}

.auth-toggle-btn:hover {
    background: #004d7a;
}

.auth-card-body {
    padding: 16px 32px 40px;
}

.auth-panel {
    display: none;
}

.auth-panel.active {
    display: block;
}

.forgot-password-row {
    display: flex;
    justify-content: center;
    padding-bottom: 16px;
}

.forgot-password-link {
    font-size: 14px;
    color: #00659F;
    text-decoration: underline;
    cursor: pointer;
}

.forgot-password-link:hover {
    color: #004d7a;
}