* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    background-color: #f4f4f9;
    color: #333;
}

.dashboard {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sidebar {
    display: none; 
    background-color: #2c3e50;
    color: white;
    padding: 20px;
}

.sidebar h2 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 0;
}

.header {
    background-color: #3498db;
    color: white;
    padding: 20px;
    text-align: center;
}

.content {
    padding: 20px;
}

.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card h3 {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.card p {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3498db;
}

.chart-area {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.map-placeholder {
    height: 300px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    border-radius: 4px;
    color: #666;
}

@media (min-width: 768px) {
    .cards-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .card {
        flex: 1 1 calc(33.333% - 15px);
    }
}

@media (min-width: 1024px) {
    .dashboard {
        display: grid;
        grid-template-columns: 250px 1fr;
        grid-template-rows: auto 1fr;
        height: 100vh;
    }

    .sidebar {
        display: block;
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .main-wrapper {
        display: flex;
        flex-direction: column;
        grid-column: 2 / 3;
        grid-row: 1 / 3;
        height: 100vh;
        overflow-y: auto;
    }
}