/* ============================================
   AUTH PAGES (Login / Register / Forgot Password)
   ============================================ */
.auth-page-wrap {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.25rem;
    background:
        radial-gradient(circle at 15% 10%, rgba(0, 168, 120, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(62, 207, 142, 0.10) 0%, transparent 45%);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card, #fff);
    border-radius: 28px;
    padding: 2.75rem 2.25rem;
    box-shadow: 0 20px 60px -15px rgba(0, 168, 120, 0.18), 0 4px 12px rgba(20, 30, 60, 0.06);
    border: 1px solid var(--border, #E2E8E4);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--gradient-primary, linear-gradient(135deg, #00A878 0%, #34D399 100%));
}

.auth-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0.5rem auto 1.5rem;
    border-radius: 20px;
    background: var(--gradient-primary, linear-gradient(135deg, #00A878 0%, #34D399 100%));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px -6px rgba(0, 168, 120, 0.45);
    color: #fff;
}

.auth-title {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-weight: 800;
    font-size: 1.75rem;
    text-align: center;
    color: var(--text-dark, #0F172A);
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted, #64748B);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.auth-alert {
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.auth-alert.error { background: #FEE2E2; color: #DC2626; }
.auth-alert.success { background: var(--primary-light, #D1FAE5); color: var(--primary-dark, #065F46); }

.auth-form-group {
    margin-bottom: 1.25rem;
    position: relative;
}
.auth-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark, #0F172A);
    margin-bottom: 0.5rem;
}
.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-wrap svg {
    position: absolute;
    left: 16px;
    color: var(--text-muted, #64748B);
    pointer-events: none;
    width: 18px;
    height: 18px;
}
.auth-input-wrap input {
    width: 100%;
    padding: 0.95rem 1rem 0.95rem 3rem;
    border: 1.5px solid var(--border, #E2E8E4);
    border-radius: 14px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg-surface, #F1F5F2);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.auth-input-wrap input:focus {
    outline: none;
    border-color: var(--primary, #00A878);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 168, 120, 0.12);
}

.auth-submit-btn {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
    border: none;
    border-radius: 50px;
    background: var(--gradient-primary, linear-gradient(135deg, #00A878 0%, #34D399 100%));
    color: #fff;
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    box-shadow: 0 10px 24px -8px rgba(0, 168, 120, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}
.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -8px rgba(0, 168, 120, 0.6);
}
.auth-submit-btn:active { transform: translateY(0); }

.auth-links {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.9rem;
    color: var(--text-muted, #64748B);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.auth-links a {
    color: var(--primary, #00A878);
    font-weight: 600;
    text-decoration: none;
}
.auth-links a:hover { text-decoration: underline; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.25rem 0 0.5rem;
    color: var(--text-muted, #64748B);
    font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border, #E2E8E4);
}

@media (max-width: 480px) {
    .auth-card { padding: 2rem 1.5rem; border-radius: 22px; }
    .auth-title { font-size: 1.5rem; }
}