/* CSS-Cleanup-6: Member account styles extracted from public-polish.css. */

.public-status-pill,
.member-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid rgba(29, 255, 156, 0.32);
    border-radius: 999px;
    background: rgba(9, 55, 35, 0.96);
    color: #dffff2;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.public-status-pill {
    margin-top: 12px;
}

.member-auth-section,
.member-dashboard-section {
    padding-top: 46px;
}

.member-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.62fr);
    gap: 36px;
    align-items: start;
}

.member-auth-copy {
    padding-top: 18px;
}

.member-auth-copy h1,
.member-dashboard-head h1 {
    max-width: 13ch;
}

.member-card {
    border: 1px solid rgba(29, 255, 156, 0.13);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(29, 255, 156, 0.05), rgba(255, 255, 255, 0.015)), rgba(6, 20, 14, 0.78);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
}

.member-form {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.member-form-head,
.member-panel-head,
.member-dashboard-head,
.member-dashboard-actions,
.member-saved-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.member-form-head h2,
.member-form-title,
.member-panel-head h2,
.member-saved-row h3,
.member-empty-state h3 {
    margin: 0;
}

.member-field {
    display: grid;
    gap: 7px;
    color: #eafff7;
    font-weight: 800;
}

.member-field span,
.member-check span {
    color: #9dc7b7;
    font-size: 0.86rem;
}

.member-field input {
    min-height: 48px;
    width: 100%;
    border: 1px solid rgba(78, 255, 180, 0.18);
    border-radius: 14px;
    background: #03100b;
    color: #ecfff8;
    padding: 0 14px;
    font: inherit;
}

.auth-google-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--rc-text);
    border: 1px solid rgba(78, 255, 180, 0.22);
}

@media (max-width: 860px) {
    .member-auth-shell {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .member-dashboard-head,
    .member-saved-row {
        grid-template-columns: 1fr;
    }

    .member-dashboard-head,
    .member-form-head,
    .member-panel-head,
    .member-saved-actions {
        align-items: flex-start;
    }

    .member-saved-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* CSS-Cleanup-11: Member saved/dashboard styles moved from public-polish.css. */

.member-check {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    width: fit-content;
    cursor: pointer;
}

.member-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--rc-accent, #1dff9c);
}

.member-submit {
    width: 100%;
}

.member-error-box {
    padding: 12px 14px;
    border: 1px solid rgba(255, 114, 114, 0.34);
    border-radius: 14px;
    background: rgba(78, 13, 13, 0.42);
    color: #ffd8d8;
}

.member-dashboard-shell {
    display: grid;
    gap: 22px;
}

.member-dashboard-head {
    align-items: flex-end;
}

.member-dashboard-head .hero-text {
    margin-bottom: 0;
}

.member-dashboard-actions {
    flex-wrap: wrap;
}

.member-logout-button,
.member-small-button,
.store-save-button {
    min-height: 40px;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
}

.member-saved-panel {
    display: grid;
    gap: 0;
    padding: 22px;
}

.member-panel-head {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.member-panel-head span,
.member-saved-row span {
    color: #9dc7b7;
    font-weight: 800;
}

.member-saved-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.member-saved-row:last-child {
    border-bottom: 0;
}

.member-saved-row h3 a:hover {
    color: var(--rc-link-hover, #ecfff8);
}

.member-saved-row p,
.member-empty-state p {
    max-width: 70ch;
    margin: 8px 0;
    color: #9dc7b7;
    line-height: 1.55;
}

.member-saved-actions {
    align-self: center;
}

.member-empty-state {
    display: grid;
    gap: 12px;
    justify-items: start;
    padding: 28px 0 8px;
}
