.dashboard-page {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-hero {
    margin-bottom: 2rem;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background-color: #1a1a1a;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 1.5rem;
}

.dashboard-metric {
    font-size: 1.8rem;
    color: #e8c97a;
    font-weight: 700;
}

.dashboard-upgrade .upgrade-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #141414;
    border: 1px solid #333;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.dashboard-listings h3 {
    margin-bottom: 1rem;
}

.dashboard-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
    flex-wrap: wrap; /* action buttons wrap on narrow cards instead of overflowing */
}

.dashboard-actions button {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid #333;
    background-color: #1a1a1a;
    color: #fff;
    cursor: pointer;
}

.dashboard-actions button:hover {
    border-color: #e8c97a;
    color: #e8c97a;
}

.dashboard-empty { color: #888; font-size: 0.95rem; padding: 1.5rem 0; text-align: center; }
.dashboard-empty a { color: #e8c97a; text-decoration: none; }
.dashboard-empty a:hover { text-decoration: underline; }

.sold-note {
    font-size: 0.78rem;
    color: #e08080;
    margin-top: 0.3rem;
}

.expired-note {
    font-size: 0.78rem;
    color: #d0a060;
    margin-top: 0.3rem;
}

.expiry-note {
    font-size: 0.78rem;
    color: #888;
    margin-top: 0.3rem;
}

.btn-renew {
    background: #e8c97a;
    color: #0d0d0d;
    border: none;
    cursor: pointer;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}
.btn-renew:hover { background: #f5dfa0; }
.btn-renew:disabled { background: #555; color: #aaa; cursor: not-allowed; }

/* ─── Boost ("Destacar") button + chooser modal ──────────────────────────── */
.btn-boost {
    background: linear-gradient(135deg, #e8c97a, #d4b052);
    color: #0d0d0d !important;
    border: none !important;
    font-weight: 700;
}
.btn-boost:hover { filter: brightness(1.08); }

.boost-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
}

.boost-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    background: #161616;
    color: #fff;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.15s, background 0.15s;
}
.boost-option:hover { border-color: #e8c97a; background: #1f1c12; }
.boost-option-title { font-weight: 600; }
.boost-option-price { color: #e8c97a; font-weight: 700; }

/* ─── Referral / invite section ──────────────────────────────────────────────
   Shown on the dashboard so each member can copy their invite link and see how
   many people they've referred. */
.dashboard-referral {
    margin: 2rem 0;
    padding: 1.4rem 1.6rem;
    border: 1px solid #2a2a2a;
    border-left: 4px solid #e8c97a;
    border-radius: 12px;
    background: #161616;
}
.dashboard-referral h3 {
    margin: 0 0 0.4rem;
    color: #e8c97a;
}
.dashboard-referral > p {
    margin: 0 0 1rem;
    color: #bbb;
    font-size: 0.92rem;
}
.referral-row {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.referral-row input {
    flex: 1 1 260px;
    min-width: 0;
    background: #0f0f0f;
    border: 1px solid #333;
    color: #f0f0f0;
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}
.referral-row .cta-button {
    flex: 0 0 auto;
}
.referral-count {
    margin: 1rem 0 0;
    color: #ddd;
    font-size: 0.95rem;
}
.referral-count strong { color: #e8c97a; }
