/* =========================================================
   auth.css — shared styling for login, signup, forgot/reset password,
   account settings, and my-submissions pages.
   Builds on about.css (hero, section, .about-page) and contact.css
   (.contact-form, .contact-form__input, .contact-form__submit, etc.) —
   this file only covers what's unique to the account-related pages:
   the narrow centered card, inline auth links, status badges, and the
   account danger zone.
   ========================================================= */

.about-page--narrow { max-width: 480px; }

.contact-form__optional {
    font-weight: 400;
    font-size: 0.72rem;
    color: #6b7a8f;
    text-transform: none;
    letter-spacing: 0;
}

.auth-card .contact-form { margin-top: 0.2rem; }

.auth-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: #3c4043;
    background: #fff;
    border: 1.5px solid rgba(2,14,56,0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    text-decoration: none;
    margin-top: 0.6rem;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.auth-google-btn:hover {
    box-shadow: 0 4px 14px rgba(2,14,56,0.14);
    border-color: rgba(2,14,56,0.35);
}
.auth-google-btn i.fa-google { color: #4285F4; font-size: 1rem; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1rem 0 0.4rem;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.74rem;
    color: #8896ab;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(2,14,56,0.12);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.82rem;
}
.auth-links a { color: #1a6fc4; text-decoration: none; font-weight: 700; }
.auth-links a:hover { text-decoration: underline; }

.auth-gate {
    text-align: center;
    padding: 1.6rem 1rem;
}
.auth-gate__icon {
    font-size: 2rem;
    color: #1a6fc4;
    margin-bottom: 0.7rem;
}
.auth-gate p {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.92rem;
    color: #2d3a4e;
    margin: 0 0 1rem;
}
.auth-gate__actions {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}
.auth-gate__actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.65rem 1.3rem;
    border-radius: 8px;
    text-decoration: none;
}
.auth-gate__actions a.is-primary {
    color: #fff;
    background: linear-gradient(135deg, #1a6fc4, #217dbb);
}
.auth-gate__actions a.is-secondary {
    color: #1a6fc4;
    border: 1.5px solid rgba(26,111,196,0.4);
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}
.auth-badge--pending  { background: rgba(245,158,11,0.15); color: #92650a; }
.auth-badge--approved,
.auth-badge--featured { background: rgba(39,174,96,0.15); color: #1a7a3c; }
.auth-badge--published{ background: rgba(26,111,196,0.15); color: #1a6fc4; }
.auth-badge--rejected  { background: rgba(192,57,43,0.15); color: #c0392b; }

.auth-submission-list { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.6rem; }
.auth-submission-item {
    background: rgba(255,255,255,0.5);
    border: 1.5px solid rgba(2,14,56,0.12);
    border-radius: 10px;
    padding: 0.85rem 1rem;
}
.auth-submission-item__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}
.auth-submission-item__title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: #020e38;
}
.auth-submission-item__meta {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.74rem;
    color: #6b7a8f;
}
.auth-submission-item__preview {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    color: #2d3a4e;
    margin: 0;
    line-height: 1.5;
}
.auth-empty-note {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.85rem;
    color: #6b7a8f;
    text-align: center;
    padding: 1rem 0;
}

.auth-danger-zone {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1.5px dashed rgba(192,57,43,0.3);
}
.auth-danger-zone__label {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: #c0392b;
    margin-bottom: 0.5rem;
}
.auth-danger-btn {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: #c0392b;
    background: rgba(192,57,43,0.08);
    border: 1.5px solid rgba(192,57,43,0.35);
    border-radius: 8px;
    padding: 0.6rem 1.1rem;
    cursor: pointer;
}
.auth-danger-btn:hover { background: rgba(192,57,43,0.15); }

@media (max-width: 480px) {
    .auth-gate__actions { flex-direction: column; }
    .auth-gate__actions a { justify-content: center; }
}
