/* ==========================================================================
   Section Header with Decorative Lines
   ========================================================================== */

/* 
 * Usage:
 * <div class="section-header">
 *   <h3>Title</h3>
 * </div>
 * 
 * Works with h2, h3, h4. Lines stretch to fill available space.
 */

.section-header-container {
    margin-bottom: var(--spacing-xl);
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    text-align: center;
    width: 100%;
    margin: var(--spacing-2xl) auto;
}

/* Decorative Lines */
.section-header::before,
.section-header::after {
    content: '';
    height: 2px;
    background: var(--color-border);
    flex: 1;
    border-radius: var(--border-radius-pill);
}

.section-header h3,
.section-header h2,
.section-header h4 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    white-space: nowrap;
    color: var(--color-text);
    font-family: var(--font-heading-normal);
    font-size: var(--font-size-xl);
}

.section-subtitle {
    margin-top: -1.5rem;
    margin-bottom: var(--spacing-xl);
    /* Reduced spacing since it's closer to the line now */
    font-size: var(--font-size-md);
    color: var(--color-text-light);
    font-weight: normal;
    max-width: 600px;
    line-height: 1.5;
}

/* Icons inside headers */
.section-header i {
    color: var(--color-text-light);
    font-size: 0.8em;
}

/* Auth Divider (Reusing section-header logic) */
.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    text-align: center;
    width: 100%;
    margin: var(--spacing-lg) 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    height: 2px;
    background: var(--color-border);
    flex: 1;
    border-radius: var(--border-radius-pill);
}

.auth-divider span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    color: var(--color-text-muted);
    font-family: var(--font-primary-bold);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}