.auth-page {
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-nav {
    background: white !important;
    position: relative !important;
}

.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-split-card {
    display: flex;
    width: 100%;
    max-width: 1040px;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-soft, #e2e8f0);
}

.auth-visual {
    flex: 1;
    background: radial-gradient(circle at top right, rgba(16,185,129,0.22), transparent 34%), linear-gradient(135deg, #0f172a 0%, #111827 52%, #082f25 100%);
    padding: 60px;
    color: white;
    display: flex;
    align-items: center;
}

.auth-visual h2 {
    font-size: 38px;
    margin: 20px 0;
    line-height: 1.2;
}

.auth-visual p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 30px;
}

.auth-feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
}

.feature-item .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.14);
}

.auth-form-area {
    flex: 1.25;
    padding: 54px 56px;
    background: white;
}

.auth-box h3 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px;
    color: #0f172a;
}

.auth-subtitle {
    color: #64748b;
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.7;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #64748b;
}

.optional-label {
    color: #94a3b8;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 800;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s ease;
    color: #0f172a;
    background: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.w-100 {
    width: 100%;
    margin-top: 10px;
}

.btn-vibrant {
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 14px 34px rgba(16, 185, 129, 0.22);
}

.btn-vibrant:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn-vibrant:disabled {
    cursor: not-allowed;
}

.toggle-text {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.toggle-text a {
    color: #10b981;
    text-decoration: none;
    font-weight: 800;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    font-size: 18px !important;
    color: #94a3b8;
    user-select: none;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #10b981;
}

.password-criteria {
    margin-top: 6px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.password-criteria p {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin: 0 0 12px;
}

.password-criteria ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.password-criteria li {
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.crit-invalid {
    color: #94a3b8;
}

.crit-invalid::before {
    content: 'radio_button_unchecked';
    font-family: 'Material Icons';
    font-size: 14px;
}

.crit-valid {
    color: #10b981;
}

.crit-valid::before {
    content: 'check_circle';
    font-family: 'Material Icons';
    font-size: 14px;
}

.alert {
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    transition: transform 0.3s ease, opacity 0.6s ease !important;
}

.alert:hover {
    transform: translateY(-2px);
}

.success-alert {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.error-alert {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.portal-mode-pill,
.manifesto-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #bbf7d0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.portal-mode-pill .material-icons {
    font-size: 16px;
}

.section-enter {
    animation: fadeUpIn 0.25s ease;
}

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

.pending-card {
    max-width: 760px;
    width: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    padding: 42px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
}

.pending-card h1 {
    margin: 14px 0 10px;
    font-size: 36px;
    line-height: 1.1;
    color: #0f172a;
}

.pending-card p {
    color: #64748b;
    line-height: 1.8;
    margin: 0 0 18px;
}

.pending-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.pending-actions a {
    text-decoration: none;
}

.btn-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f172a;
    font-weight: 800;
    font-size: 13px;
}

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

    .auth-visual {
        display: none;
    }

    .auth-form-area {
        padding: 40px 30px;
    }

    .form-grid-2,
    .password-criteria ul {
        grid-template-columns: 1fr;
    }
}
