/* ============================================================
   AUTH PAGES – PROFESSIONAL GOLD THEME (with header/footer)
   ============================================================ */

.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 100px 1rem 60px 1rem; /* top padding for header, bottom for footer */
    background: var(--prism-bg-dark);
}

.auth-card {
    background: var(--prism-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto; /* ensures centering */
}
.auth-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* Card Header */
.auth-card .auth-icon {
    font-size: 2.4rem;
    color: var(--prism-primary);
    text-align: center;
    display: block;
    margin-bottom: 0.25rem;
}
.auth-card h2 {
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}
.auth-card .auth-sub {
    color: var(--prism-text-muted);
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

/* Form Fields */
.auth-card .form-control,
.auth-card .form-select {
    background: rgba(8, 11, 16, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: #e2e8f0;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.auth-card .form-control:focus,
.auth-card .form-select:focus {
    border-color: var(--prism-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
    background: rgba(8, 11, 16, 0.8);
    color: #fff;
}
.auth-card .form-control::placeholder {
    color: rgba(255,255,255,0.3);
}
.auth-card .form-label {
    color: #c8d0e6;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

/* Gold Button */
.auth-btn {
    background: var(--prism-gradient);
    border: none;
    padding: 14px;
    font-weight: 700;
    border-radius: 40px;
    color: #080B10 !important;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}
.auth-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 60%);
    pointer-events: none;
}
.auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.35);
    color: #080B10 !important;
}
.auth-btn:active {
    transform: scale(0.97);
}

/* Links */
.auth-link {
    color: var(--prism-primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}
.auth-link:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

/* reCAPTCHA wrapper */
.auth-recaptcha {
    display: flex;
    justify-content: center;
    margin: 1.2rem 0;
}

/* Alerts – clean style */
.auth-alert {
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}
.auth-alert-danger {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: #fca5a5;
}
.auth-alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.2);
    color: #6ee7b7;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-wrapper {
        padding: 80px 0.8rem 40px 0.8rem;
    }
    .auth-card {
        padding: 1.8rem 1.2rem;
        border-radius: 20px;
        max-width: 100%;
    }
    .auth-card h2 {
        font-size: 1.5rem;
    }
    .auth-card .auth-sub {
        font-size: 0.85rem;
    }
    .auth-card .auth-icon {
        font-size: 2rem;
    }
    .auth-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
}