/* ===== Member (Before Login) ===== */
:root {
    --accent: #FFD54F;
    --accent-2: #FFA726;
    --card-bg: rgba(0, 0, 0, 0.45);
    --card-stroke: rgba(255, 255, 255, 0.16);
    --text: #fff;
    --text-dim: rgba(255, 255, 255, 0.8);
}

.member-page {
    color: var(--text);
}

/* Hero */
.member-hero {
    text-align: center;
    margin-bottom: 28px;
}

.member-hero .logo {
    max-width: 140px;
    display: block;
    margin: 0 auto 12px;
}

.member-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: .3px;
    margin-bottom: 8px;
}

.member-hero p {
    font-size: 1rem;
    opacity: .95;
}

/* Grid */
.auth-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

/* Pitch (benefits) */
.pitch {
    background: var(--card-bg);
    border: 1px solid var(--card-stroke);
    border-radius: 14px;
    padding: 20px;
    backdrop-filter: blur(6px);
}

.pitch h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.pitch .benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pitch .benefit {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px;
}

.pitch .benefit .title {
    font-weight: 700;
    margin-bottom: 4px;
}

.pitch .benefit p {
    color: var(--text-dim);
    line-height: 1.45;
    font-size: .95rem;
}

/* Auth Card */
.auth-card {
    background: var(--card-bg);
    border: 1px solid var(--card-stroke);
    border-radius: 14px;
    padding: 18px;
    backdrop-filter: blur(6px);
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.auth-tabs .tab {
    appearance: none;
    border: 1px solid var(--card-stroke);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, transform .15s ease, border-color .25s ease;
}

.auth-tabs .tab:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.auth-tabs .tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #111;
    border-color: rgba(255, 213, 79, .85);
    box-shadow: 0 8px 18px rgba(255, 193, 7, 0.3);
}

.auth-panel {
    display: none;
}

.auth-panel.show {
    display: block;
    animation: fadeUp .28s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-row {
    margin-bottom: 12px;
    text-align: left;
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
}

.form-row small {
    color: var(--text-dim);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #111;
    text-decoration: none;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: transform .15s ease, filter .2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(.95);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid var(--card-stroke);
}

.helper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: .95rem;
    color: var(--text-dim);
}

.helper a {
    color: var(--accent);
    text-decoration: none;
}

.divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0;
}

.divider::before,
.divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 900px) {
    .auth-grid {
        grid-template-columns: 1fr;
    }

    .pitch .benefits {
        grid-template-columns: 1fr;
    }
}

/* Alert Development (Member) */
.alert-dev {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.55);
    color: #FFD54F;
    padding: 12px 16px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulseAlert 1.8s infinite;
}

@keyframes pulseAlert {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 213, 79, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 213, 79, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 213, 79, 0);
    }
}