/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
}

/* Header styles */
header {
    background: #2c3e50;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

nav ul li a:hover {
    color: #3498db;
}

.user-profile {
    font-size: 14px;
}

/* Container for sidebar and main content */
.container {
    display: flex;
    min-height: calc(100vh - 60px);
}

/* Sidebar styles */
.sidebar {
    width: 200px;
    background: #34495e;
    padding: 20px 0;
    box-shadow: 2px 0 4px rgba(0,0,0,0.1);
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    padding: 12px 20px;
    border-left: 4px solid transparent;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.sidebar ul li:hover {
    background: #2c3e50;
    border-left-color: #3498db;
}

/* Main content area */
main {
    flex: 1;
    padding: 30px;
    background: #f5f5f5;
}

/* Metrics section */
.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.metric-card h3 {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.metric-card .amount {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

/* Chart section */
.chart-section {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.chart-section h2 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.chart-placeholder {
    height: 300px;
    background: #ecf0f1;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
}

/* Summary section */
.summary-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.summary-card {
    background: #2c3e50;
    color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.summary-card h3 {
    font-size: 12px;
    margin-bottom: 10px;
    color: #bdc3c7;
}

.summary-card .number {
    font-size: 28px;
    font-weight: bold;
}

/* Quick links section */
.quick-links-section {
    margin-bottom: 30px;
}

.quick-links-section h2 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.quick-link-card {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quick-link-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 16px;
}

.quick-link-card p {
    color: #7f8c8d;
    font-size: 14px;
}

/* Footer styles */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 10px 0;
    }

    .sidebar ul li {
        padding: 10px 15px;
    }

    header {
        flex-direction: column;
        gap: 10px;
    }

    nav ul {
        flex-wrap: wrap;
    }

    .metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    main {
        padding: 15px;
    }
}
