/* Allgemeines Styling für die gesamte Seite */
body {
    font-family: 'Arial', sans-serif;
    background-color: #2A2B32;
    color: #E0E0E0;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 40px; /* Platz für fixierten Footer schaffen */
}

/* Container für Sidebar und Chart */
.container {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

/* Sidebar-Styling für die linke Spalte */
.sidebar {
    background-color: #3B3C42;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    margin: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 250px; /* Feste Breite für die Sidebar */
    flex-shrink: 0;
}

/* Chart-Container für reaktionsfähiges Layout */
.chart-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
    height: calc(100vh - 160px); /* Voller Platz unter Berücksichtigung der Sidebar und des Footers */
}

/* Canvas-Größe anpassen */
.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Fußzeile fixieren */
.footer-text {
    background-color: #3B3C42;
    color: #B0B0B0; /* Leichtes Grau */
    text-align: center;
    padding: 10px;
    font-size: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10; /* Damit der Footer über anderen Inhalten liegt */
}

/* Styling für Labels */
.label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #FFFFFF;
}

/* Datepicker Styling */
.datepicker {
    font-size: 14px;
    padding: 8px;
    width: 100%;
    border: 1px solid #5E5E5E;
    border-radius: 6px;
    background-color: #2A2B32;
    color: #E0E0E0;
    outline: none;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
}

.datepicker:focus {
    border-color: #10A37F;
    box-shadow: 0 0 5px rgba(16, 163, 127, 0.5);
}

/* Dropdown-Styling */
.dropdown {
    font-size: 14px;
    padding: 8px;
    width: 100%;
    border: 1px solid #5E5E5E;
    border-radius: 6px;
    background-color: #2A2B32;
    color: #E0E0E0;
    outline: none;
}

.dropdown:focus {
    border-color: #10A37F;
    box-shadow: 0 0 5px rgba(16, 163, 127, 0.5);
}

/* Button-Styling */
.button {
    font-size: 14px;
    font-weight: 600;
    padding: 10px;
    background-color: #10A37F;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0E8A6C;
}

.button:active {
    background-color: #0B6A54;
}
