:root {
    --brand: #00468E;
    --brand-dark: #003366;
    --brand-light: #E8F0FE;
}

.auth-card-single {
    max-width: 520px;
}

.auth-main-full {
    width: 100%;
    padding: 3rem 2.5rem;
}

.auth-page {
    padding: 3rem 0 4rem;
    background: linear-gradient(135deg, var(--brand-light) 0%, #f4f8fc 100%);
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
}

.auth-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 70, 142, 0.12);
    max-width: 920px;
    margin: 0 auto;
    border: 1px solid rgba(0, 70, 142, 0.06);
}

.auth-side {
    width: 42%;
    background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    padding: 3rem 2.5rem;
    display: flex;
    align-items: center;
}

.auth-side-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.auth-side h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.auth-side p {
    opacity: 0.88;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.auth-side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-side-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    padding: 0.35rem 0;
    opacity: 0.92;
}

.auth-side-list i {
    color: #93c5fd;
}

.auth-main {
    flex: 1;
    padding: 2.5rem;
    position: relative;
    min-height: 480px;
}

.auth-step {
    display: none;
}

.auth-step.is-active {
    display: block;
    animation: authFadeIn 0.25s ease;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.auth-step h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.35rem;
}

.auth-step-desc {
    color: #6b7280;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
}

.auth-back-btn {
    background: none;
    border: none;
    color: var(--brand);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.auth-back-btn:hover {
    color: var(--brand-dark);
}

.auth-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.35rem;
    display: block;
}

.auth-label span {
    color: #c0392b;
}

.auth-field {
    margin-bottom: 1.25rem;
}

.auth-input {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 0.9rem;
    padding: 0.6rem 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0, 70, 142, 0.1);
}

.auth-prefix {
    background: var(--brand-light);
    color: var(--brand);
    border: 1px solid #e5e7eb;
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-weight: 700;
}

.auth-input-no-left {
    border-radius: 0 10px 10px 0 !important;
}

.auth-eye-btn {
    border: 1px solid #e5e7eb;
    border-left: none;
    border-radius: 0 10px 10px 0;
    background: #fff;
    color: #6b7280;
}

.auth-btn-primary {
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.5rem;
    font-size: 0.92rem;
    transition: background 0.2s;
}

.auth-btn-primary:hover {
    background: var(--brand-dark);
    color: #fff;
}

.auth-btn-outline {
    background: #fff;
    color: var(--brand);
    font-weight: 600;
    border: 1px solid rgba(0, 70, 142, 0.25);
    border-radius: 10px;
    padding: 0.65rem 1.5rem;
    font-size: 0.92rem;
}

.auth-btn-outline:hover {
    background: var(--brand-light);
    color: var(--brand-dark);
    border-color: var(--brand);
}

.auth-link {
    color: var(--brand);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
    color: var(--brand-dark);
}

.auth-instructions {
    background: #fafbfc;
    border: 1px solid rgba(0, 70, 142, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.7;
}

.auth-instructions p {
    margin-bottom: 0.5rem;
}

.auth-confirm-box {
    background: var(--brand-light);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.auth-check-label {
    font-size: 0.85rem;
    color: #374151;
}

.auth-check-label a {
    color: var(--brand);
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .auth-card {
        flex-direction: column;
    }

    .auth-side {
        width: 100%;
        padding: 2rem 1.5rem;
    }

    .auth-side h2 {
        font-size: 1.4rem;
    }

    .auth-main {
        padding: 1.75rem;
        min-height: auto;
    }

    .auth-page {
        padding: 1.5rem 0 2.5rem;
    }
}
