body {
    font-family: sans-serif;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(auto, 1fr));
    gap: 5px;
    width: 100%;
    box-sizing: border-box;
}

.calendar-day {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

@media (max-width: 768px) {
    .calendar-day {
        padding: 8px;
        min-height: 80px;
        font-size: 0.9em;
    }

    .calendar-event {
        font-size: 0.8em;
    }
}

.calendar-day.weekday-header {
    background-color: #f0f0f0;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    min-height: auto;
}

.label-item {
    background-color: #eee;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
    cursor: grab;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label-item .delete-btn {
    margin-left: 10px;
    cursor: pointer;
    color: red;
    font-weight: bold;
}

.calendar-event {
    color: white;
    padding: 3px;
    border-radius: 3px;
    font-size: 0.8em;
    cursor: move;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-day.has-event {
    background-color: #f9f9f9;
}

.trash-can {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px;
    border-radius: 5px;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.color-picker-wrapper {
    margin-left: 10px;
}

#labelColorPicker {
    width: 40px;
    height: 38px; /* Angepasst an Button-Höhe */
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    padding: 2px;
}


#currentMonthYear {
    font-size: 1.5em;
    font-weight: bold;
}

.collapsed-labels {
    display: none;
}
.calendar-day.current-day {
    border: 2px solid black;
    box-sizing: border-box;
}

/* Definiert einen Container für das Diagramm */
.chart-container {
    position: relative;
    /* Höhe leicht erhöht */
    height: 45vh;
    max-height: 450px;
    width: 100%;
}
