/* ═══════════════════════════════════════════════════════════
   Member Showcase Grid — auth pages (login, register, forgot)
   ═══════════════════════════════════════════════════════════ */

/* Hero section above the form + showcase split */
.auth-hero {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 20px;
    text-align: center;
}
.auth-hero__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark, #333);
    margin: 0 0 8px;
    line-height: 1.3;
}
.auth-hero__subtitle {
    font-size: 15px;
    color: var(--text-light, #777);
    margin: 0 auto;
    max-width: 560px;
    line-height: 1.5;
}

.auth-split {
    display: flex;
    gap: 0;
    max-width: 1200px;
    margin: 25px auto;
    padding: 0 20px;
    align-items: stretch;
    justify-content: center;
}

.auth-split__form {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    padding-right: 30px;
    min-width: 0;
}

.auth-split__showcase {
    flex: 1 1 50%;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius, 8px);
}

/* When showcase has no photos — JS adds this class */
.auth-split--no-showcase .auth-split__showcase {
    display: none;
}
.auth-split--no-showcase .auth-split__form {
    flex: 0 1 520px;
    padding-right: 0;
    max-width: 520px;
    margin: 0 auto;
}

/* Grid fills the showcase container height exactly */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 4px;
    width: 100%;
    height: 100%;
}

.showcase-cell {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #f0ebe6;
    transition: opacity 0.8s ease;
}

.showcase-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-cell__name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1px 3px;
    font-size: 8px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

/* Fade animation */
.showcase-cell--fading {
    opacity: 0;
}

/* Descriptive section below forms */
.auth-extras {
    margin-top: 25px;
    padding: 20px 0;
}

.auth-extras__stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.auth-stat {
    flex: 1;
    text-align: center;
    padding: 14px 8px;
    background: var(--bg-white, #fff);
    border-radius: var(--radius, 8px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.auth-stat__number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-red, #e74c3c);
    line-height: 1.2;
}

.auth-stat__label {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.auth-feature__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.1);
    color: var(--primary-red, #e74c3c);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Responsive: stack on narrow screens */
@media (max-width: 768px) {
    .auth-hero { margin-top: 20px; }
    .auth-hero__title { font-size: 22px; }
    .auth-hero__subtitle { font-size: 14px; }
    .auth-split {
        flex-direction: column;
        gap: 20px;
    }
    .auth-split__form {
        padding-right: 0;
        flex: none;
        max-width: 100%;
    }
    .auth-split--no-showcase .auth-split__form {
        max-width: 100%;
    }
    .auth-split__showcase {
        flex: none;
        height: 280px;
    }
    .auth-extras__stats {
        gap: 8px;
    }
}

@media (max-width: 375px) {
    .auth-split { padding: 0 10px; }
    .auth-extras__stats { flex-direction: column; gap: 6px; }
    .auth-stat { padding: 10px; }
}
