body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #1c1e21;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

header h1 {
    font-size: 2.5rem;
    color: #1877f2; /* A familiar blue */
    text-align: center;
    margin-bottom: 2rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-box {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.kpi-title {
    font-size: 1rem;
    color: #606770;
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1c1e21;
}

.chart-container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Add this to the bottom of static/css/style.css */
.table-container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.table-header h3 {
    margin: 0;
    color: #1c1e21;
}
.download-btn {
    background-color: #e4e6eb;
    color: #1c1e21;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}
.download-btn:hover {
    background-color: #d8dadf;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    text-align: left;
    padding: 0.75rem;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #f0f2f5;
}

/* Add this to your static/css/style.css */
.filter-container {
    background-color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}
.filter-container form {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-size: 0.9rem;
    color: #606770;
    margin-bottom: 0.25rem;
}
.form-group input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
}
.filter-btn {
    background-color: #1877f2;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    align-self: flex-end; /* Align with the bottom of the input boxes */
}
.filter-btn:hover {
    background-color: #166fe5;
}