/* user.css — login + account pages for still-feeling.com */

.user-top {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.user-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.user-nav-link {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(168, 80, 117, 0.18);
    background: var(--card-glass);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.user-nav-link:hover,
.user-nav-link.active {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    color: #fff;
}

.user-logout {
    margin-left: auto;
}

.user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin: 6px 0 10px;
}

.plan-free { color: #7a6b70; }
.plan-member { color: #4a7a5a; }
.plan-premium { color: #a3546e; }

.stat-note {
    font-size: 0.85rem;
    opacity: 0.75;
    line-height: 1.5;
}

/* Plan cards */
.plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.plan-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-card.plan-current {
    border-color: var(--accent-pink);
    box-shadow: 0 0 0 1px var(--accent-pink);
}

.plan-price {
    font-size: 1.9rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.plan-price small {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.6;
}

/* Auth */
.auth-card {
    max-width: 440px;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin: 18px 0;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(168, 80, 117, 0.18);
    background: transparent;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active,
.auth-tab:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    color: #fff;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-note {
    margin-top: 18px;
    font-size: 0.85rem;
    opacity: 0.75;
}

/* Credits */
.topup-form {
    margin-top: 14px;
}

.topup-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.topup-row input {
    flex: 1;
}

.tx-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.9rem;
}

.tx-table th,
.tx-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(168, 80, 117, 0.12);
}

.tx-table th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.65;
}

.tx-plus { color: #3a7d50; font-weight: 700; }
.tx-minus { color: #b34747; font-weight: 700; }

@media (max-width: 640px) {
    .user-logout { margin-left: 0; }
    .topup-row { flex-direction: column; align-items: stretch; }
}
