/* ESTRUCTURA PRINCIPAL DEL DASHBOARD */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: #050505;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.dashboard-sidebar {
    width: 280px;
    background: #000;
    border-right: 1px solid #1a1a1a;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
}

.dashboard-logo {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--brand-gold);
    margin-bottom: 50px;
    letter-spacing: 2px;
}

/* MENÚ DE NAVEGACIÓN INTERNA */
.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.nav-item {
    background: transparent;
    color: #666;
    border: 1px solid transparent;
    padding: 15px;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.nav-item.active {
    background: #111;
    color: var(--brand-gold);
    border-color: #D4AF37;
}

.nav-item:hover:not(.active) {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

/* ÁREA DE CONTENIDO */
.dashboard-main {
    flex: 1;
    padding: 60px;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

/* TARJETAS DE ESTADÍSTICAS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #1a1a1a;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #333;
}

.stat-label {
    color: #555;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
}

.stat-value {
    font-size: 2.2rem;
    margin-top: 10px;
    font-weight: 900;
}

.stat-value.gold { color: var(--brand-gold); }

/* Por defecto ocultamos ambas y mostramos según el tamaño */
.mobile-only-view, .desktop-only-view {
    display: none !important;
}

/* 📱 REGLA PARA CELULARES (Nativo App Style) */
@media (max-width: 768px) {
    .mobile-only-view {
        display: block !important;
    }
    /* Quitamos el sidebar en mobile para que el producto sea protagonista */
    .dashboard-sidebar {
        display: none !important;
    }
    .dashboard-main {
        margin-left: 0 !important;
        padding: 0 !important;
    }
}

/* 💻 REGLA PARA DESKTOP (Revista Style) */
@media (min-width: 769px) {
    .desktop-only-view {
        display: grid !important;
    }
}