﻿body {
    background: #f4f5f8;
    font-family: sans-serif;
    margin: 0;
}

.dashboard-container {
    padding: 18px;
    padding-bottom: 100px;
}

/* HEADER */

.dashboard-header h2 {
    margin: 0;
    font-size: 28px;
}

.dashboard-header p {
    color: #6b7280;
    margin-top: 5px;
}

/* FILTRO */

.week-selector {
    margin-top: 20px;
}

.week-btn {
    border: none;
    background: #2563eb;
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
}

/* CARDS */

.summary-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.summary-card {
    background: white;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .summary-card h3 {
        margin: 0;
        font-size: 22px;
    }

    .summary-card p {
        margin-top: 8px;
        color: #6b7280;
        font-size: 13px;
    }

    .summary-card.success {
        background: #dcfce7;
    }

    .summary-card.warning {
        background: #fef3c7;
    }

/* NAVEGACION */

.navigation-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.nav-card {
    background: white;
    border-radius: 20px;
    padding: 20px 10px;
    text-decoration: none;
    color: #111827;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: 0.2s;
}

    .nav-card:hover {
        transform: translateY(-2px);
    }

.nav-icon {
    font-size: 30px;
}

/* ALERTAS */

.alerts-section {
    margin-top: 35px;
}

.alerts-header {
    margin-bottom: 15px;
}

    .alerts-header h3 {
        margin: 0;
    }

.alert-card {
    background: #fee2e2;
    color: #991b1b;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    font-weight: 500;
}
