/* Authors page scoped styles to avoid global bleed and match Index.css conventions */

/* Root section */
.authors-page {
    min-height: 100vh;
    padding: 2.5rem 0;
    background: var(--background-light, #f8fbff);
}

/* Shared container (align with Index: max-width + padding) */
.authors-container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

/* Section header (copied to match Index look, but scoped here) */
.authors-page .section-header {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    padding: 0 1rem 0.75rem 1rem;
    justify-content: center; /* center header by default on this page */
}

.authors-page .section-header.cohesive { justify-content: center; }

.authors-page .section-title {
    color: #2c3e50;
    font-weight: 800; /* bold title like Index */
    text-align: center;
}

/* Hero */
.author-hero-card {
    background: linear-gradient(135deg, #00b4ff, #0099e6);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,180,255,0.20);
    padding: 3rem 2.5rem;
    margin: 0 auto;
    text-align: center;
}

.author-hero-title {
    margin-bottom: 0.75rem;
    color: #fff;
    font-weight: 900;
    letter-spacing: -1px;
}

.author-hero-subtitle {
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    line-height: 1.4;
}

.author-hero-buttons { margin-top: 2rem; }

.author-hero-button.primary {
    background: rgba(255,255,255,0.95) !important;
    color: #00b4ff !important;
    font-weight: 700 !important;
    height: 50px !important;
    padding: 0 2rem !important;
    border-radius: 2rem !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3) !important;
}

.author-hero-button.secondary {
    background: transparent !important;
    color: #fff !important;
    font-weight: 700 !important;
    height: 50px !important;
    padding: 0 2rem !important;
    border-radius: 2rem !important;
    border: 2px solid rgba(255,255,255,0.7) !important;
}

/* Cards */
.author-option-card {
    background: rgba(255,255,255,0.97);
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 2.5rem;
    height: 100%;
    position: relative;
    border: 2px solid transparent; /* no colored outline by default */
    cursor: default; /* not interactive/selectable */
    /* Remove motion and strong transitions for a calm feel */
    transition: none;
}

/* Neutralize hover (no outline or extra shadow) */
.author-option-card:hover {
    border-color: transparent !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

/* Form card */
.author-form-card {
    background: rgba(255,255,255,0.98);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,180,255,0.10);
    padding: 2.7rem 2.2rem 2.2rem 2.2rem;
    margin: 0 auto;
}

.author-form-title {
    margin-bottom: 0.5rem;
    color: #00b4ff;
    font-weight: 700;
    text-align: center;
}

.author-form-subtitle {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
    color: #555;
}

.author-submit-button {
    width: 100%;
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    border: none !important;
    font-weight: 700 !important;
    height: 50px !important;
    border-radius: 2rem !important;
    box-shadow: 0 4px 15px rgba(40,167,69,0.3) !important;
    transition: all 0.3s ease !important;
}

.recaptcha-disclosure {
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: #777;
    text-align: center;
}

.recaptcha-disclosure a { color: #00b4ff; text-decoration: none; }
.recaptcha-disclosure a:hover { text-decoration: underline; }

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    .authors-page * { transition: none !important; animation: none !important; }
}

/* Responsive (align with Bootstrap/Radzen breakpoints) */
@media (max-width: 576px) {
    .author-hero-card { padding: 2rem 1rem !important; margin: 0 0.5rem !important; }

    .author-hero-title { font-size: 2.2rem !important; line-height: 1.2 !important; word-break: break-word !important; hyphens: auto !important; padding: 0 !important; }

    .author-hero-subtitle { font-size: 1.1rem !important; line-height: 1.4 !important; padding: 0 !important; }

    .author-hero-buttons { flex-direction: column !important; gap: 1rem !important; align-items: center !important; }

    .author-hero-button { width: 100% !important; max-width: 280px !important; white-space: normal !important; word-wrap: break-word !important; padding: 0.8rem 1rem !important; height: auto !important; min-height: 50px !important; text-align: center !important; }

    .authors-page { padding: 1.5rem 0 !important; }

    .authors-container { padding-left: 1rem !important; padding-right: 1rem !important; }
}

@media (max-width: 768px) {
    .authors-page .section-header { flex-direction: column; align-items: center; }
}
