body {
    font-family: Arial, sans-serif;
    margin: 40px;
    background-color: #f5f5f5;
}

h1 {
    text-align: center;
}

.flex-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex: 1;
}

label {
    display: block;
    margin: 10px 0 5px;
}

input[type="datetime-local"] {
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.recent-queries {
    margin-top: 20px;
}

.recent-queries h3 {
    margin-bottom: 10px;
}

.recent-queries ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.recent-queries li {
    padding: 6px 10px;
    background-color: #f1f1f1;
    margin-bottom: 5px;
    border-radius: 6px;
    font-size: 0.95em;
}

.bottom-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#vis {
    width: 100%;
}

canvas {
    width: 100%;
    height: 400px;
}

/* define style for time fidelity buttons */
.button-group {
    display: flex;
    gap: 10px;
}

.toggle-button {
    padding: 10px 20px;
    border: 2px solid #007bff;
    background-color: white;
    color: #007bff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s, color 0.2s;
}

.toggle-button.selected {
    background-color: #007bff;
    color: white;
}