/* === DATUMAUSWAHL ALS EINE CARD === */
.datumauswahl {
    display: flex;
    justify-content: start;
    align-items: start;
    margin-bottom: 2rem;
    
    /* Card-Styling für die gesamte Datumauswahl */
    background: var(--color-surface);
    border: 2px solid var(--color-surface-muted);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    max-height: 130px;
    min-width: 280px;
    flex-direction: column;
    gap: 0.75rem;
}

/* Kalender-Element innerhalb der Card */
.kalender {
    background: var(--color-surface);
    border: 1px solid var(--color-surface-muted);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    width: 100%;
    height: var(--btnHeight);
}

.datum {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    user-select: none;
    letter-spacing: 0.025em;
}

.blitzbuchung {
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 6px;
    padding: 4px;
    transition: all 0.3s ease;
    background: rgba(255, 193, 7, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blitzbuchung img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

#datapicker {
    position: absolute;
    height: 23px;
    left: 0px;
    top: -4px;
    background: transparent;
    outline: none;
}

#openDatepicker {
    position: relative;
    width: 28px;
    height: 28px;
    cursor: pointer;
    border-radius: 6px;
    padding: 4px;
    transition: all 0.3s ease;
    background: rgba(76, 175, 80, 0.1);
}

#openDatepicker:hover {
    transform: scale(1.15);
    background: rgba(76, 175, 80, 0.2);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

#openDatepicker svg {
    width: 100%;
    height: 100%;
    fill: var(--color-secondary);
}

#datepicker {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    opacity: 0;
    height: 20px;
}


.browseDate {
    cursor: pointer;
}

.browseDate {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.browseDate::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.browseDate--prev::before {
    transform: rotate(-135deg);
}

.browseDate--next::before {
    transform: rotate(45deg);
}

.browseDate svg:hover {
    height: 80px;
}

.wrap34 {
    margin: 0 20px;
}

/* Container für Heute und Wochenansicht */
.quick-actions {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

/* Heute und Wochenansicht nebeneinander */
.heute,
.morgen,
.blitz-tag,
.wochenansicht {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    background: var(--color-surface);
    border: 1px solid var(--color-surface-muted);
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.8rem;
    flex: 1;
    gap: 0.5rem;
    text-align: center;
    min-height: 36px;
}

.heute:hover,
.morgen:hover,
.kalender:hover,
.wochenansicht:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--color-primary);
}

.heute.is-selected,
.morgen.is-selected {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-surface);
}

/* === RESPONSIVE DESIGN === */
@media screen and (max-width: 1000px) {
    .datumauswahl {
        min-width: 260px;
        max-height: 120px;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .kalender {
        padding: 0.5rem;
        max-height: 45px;
    }

    .quick-actions {
        gap: 0.25rem;
    }

    .heute,
    .morgen,
    .wochenansicht {
        padding: 0.3rem 0.4rem;
        font-size: 0.75rem;
        min-height: 32px;
    }
}
