body {
    font-family: sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f9;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

button {
    cursor: pointer;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

#filters {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

select, input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.chart-container {
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hidden {
    display: none !important;
}

/* Form Popup Overlay */
#entryFormModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Form Box */
.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

#cancelEntryBtn {
    background-color: #dc3545;
}

#cancelEntryBtn:hover {
    background-color: #c82333;
}

/* Floating Action Button */
#fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #28a745;
    color: white;
    font-size: 30px;
    text-align: center;
    line-height: 60px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 0;
    z-index: 999;
}

#fab:hover {
    background-color: #218838;
}

#rawDataContainer {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    background: white;
    margin-top: 15px;
}
