/* ==========================================
   DASHBOARD PRINCIPAL
   ========================================== */
.dashboard {
    margin-left: 250px; /* espacio para sidebar */
    padding: 1.5rem;
    padding-bottom: 70px; /* espacio para footer fijo */
    min-height: 100vh;
    background-color: #12121b;
    color: #eee;
    font-family: 'Inter', sans-serif;
}

/* ==========================================
   SECCIONES / RESUMEN
   ========================================== */
.dashboard-summary {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.summary-item {
    background-color: #1f1f2e;
    padding: 1rem;
    border-radius: 0.5rem;
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.summary-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.summary-label {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.25rem;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

/* ==========================================
   CONTENIDO DINÁMICO
   ========================================== */
.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    background-color: #1f1f2e;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.card-header h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #4eaaff;
}

.card-body {
    font-size: 0.875rem;
    color: #ccc;
}

/* ==========================================
   FOOTER DEL DASHBOARD
   ========================================== */
.dashboard-footer {
    width: calc(100% - 250px); /* no tapa sidebar */
    position: fixed;
    bottom: 0;
    left: 250px; /* empieza después del sidebar */
    background-color: #1f1f2e;
    color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid #2c2c3e;
    z-index: 900;
    font-size: 0.875rem;
}
