/* Custom Calendar Styles */
.date-input-group {
    position: relative;
    width: 100%;
}

.calendar {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fffbf0;
    border: 1px solid #dddbf0;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    font-size: 1.2em;
    width: 320px; /* Feste Breite */
    margin-top: 5px;
}

.calendar-nav {
    cursor: pointer;
    user-select: none;
    font-size: 1.2em;
    padding: 0 10px;
}

.calendar-nav:hover {
    color: #3b5c71;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day {
    text-align: center;
    padding: 5px;
    cursor: pointer;
    border-radius: 4px;
}

.calendar-day:hover:not(.disabled) {
    background-color: #f0f0f0;
}

.calendar-day.selected {
    background-color: #3b5c71;
    color: #fffbf0;
    font-weight: bold;
}

.calendar-day.selected:hover {
    background-color: #344753;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.weekday {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    padding: 5px;
    font-size: 0.9em;
}

