.airbnb-calendar-container {
    max-width: 280px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.airbnb-calendar-container h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5em;
}

.airbnb-calendar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e1e5e9;
    position: relative;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px;
    background: linear-gradient(135deg, #FF385C 0%, #E31C5F 100%);
    color: white;
}

.calendar-header button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-header button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.calendar-header .current-month {
    margin: 0;
    font-size: 0.9em;
    font-weight: 600;
}

.calendar-grid {
    padding: 15px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-weekdays div {
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 0.8em;
    padding: 4px 0;
}

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

.calendar-week {
    display: contents;
}

.calendar-day {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    border: 2px solid transparent;
    font-size: 0.9em;
}

.calendar-day:hover:not(.booked) {
    background-color: #f8f9fa;
    transform: scale(1.05);
}

.calendar-day.other-month {
    color: #ccc;
    cursor: default;
}

.calendar-day.other-month:hover {
    background-color: transparent;
    transform: none;
}

.calendar-day.today {
    background-color: transparent;
    color: #333;
    font-weight: 700;
    border: 2px solid #FF385C;
    border-radius: 50%;
}

.calendar-day.booked {
    background-color: #E0E0E0;
    color: #999;
    cursor: not-allowed;
    position: relative;
}

/* Entferne die Punkte bei belegten Tagen */
.calendar-day.booked::after {
    display: none;
}

.calendar-day.selected {
    background-color: #FF385C;
    color: white;
    font-weight: 700;
    border-color: #FF385C;
}


/* Hover-Effekte für Start- und Endtage */
.calendar-day:hover.start-date:not(.booked) {
    border-radius: 15px 0 0 15px !important;
    background-color: rgba(255, 56, 92, 0.8);
    color: white;
}

.calendar-day:hover.end-date:not(.booked) {
    border-radius: 0 15px 15px 0 !important;
    background-color: rgba(255, 56, 92, 0.8);
    color: white;
}

/* Hover-Effekte während Datumsbereichsauswahl */
.calendar-day.hover-start {
    background-color: rgba(255, 56, 92, 0.6) !important;
    color: white !important;
    border-radius: 15px 0 0 15px !important;
}

.calendar-day.hover-end {
    background-color: rgba(255, 56, 92, 0.6) !important;
    color: white !important;
    border-radius: 0 15px 15px 0 !important;
}

.calendar-day.hover-range {
    background-color: rgba(255, 56, 92, 0.3) !important;
    color: #FF385C !important;
    border-radius: 0 !important;
}

.calendar-day.in-range:not(.start-date):not(.end-date) {
    background-color: #FF385C;
    color: white;
    font-weight: 700;
    border-radius: 0;
}

/* Start- und Enddaten haben immer Vorrang vor in-range */
.calendar-day.start-date {
    background-color: #FF385C !important;
    color: white !important;
    font-weight: 700 !important;
    border-radius: 15px 0 0 15px !important;
}

.calendar-day.end-date {
    background-color: #FF385C !important;
    color: white !important;
    font-weight: 700 !important;
    border-radius: 0 15px 15px 0 !important;
}

/* Loading State */
.airbnb-calendar.loading {
    opacity: 0.5;
    pointer-events: none;
}

.airbnb-calendar.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #FF385C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Nächte-Anzeige */
.nights-display {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
    font-weight: 500;
}

/* Personenauswahl */
.person-selector {
    text-align: center;
    margin-top: 8px;
    font-size: 0.9em;
}

.person-selector label {
    color: #333;
    font-weight: 500;
}

.person-selector select {
    margin-left: 5px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Gesamtpreis-Anzeige */
.total-price-display {
    text-align: center;
    margin-top: 10px;
    font-size: 1.1em;
    color: #FF385C;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 480px) {
    .airbnb-calendar-container {
        max-width: 100%;
        margin: 10px;
    }
    
    .calendar-header {
        padding: 15px;
    }
    
    .calendar-grid {
        padding: 15px;
    }
    
    .calendar-day {
        font-size: 0.9em;
    }
}

/* Animationen */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.airbnb-calendar {
    animation: fadeIn 0.3s ease-out;
}

/* Hover-Effekte für bessere UX */
.calendar-day:not(.booked):not(.other-month):hover {
    box-shadow: 0 2px 8px rgba(255, 56, 92, 0.3);
}

/* Fokus-Zustände für Accessibility */
.calendar-header button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.calendar-day:focus {
    outline: 2px solid #FF385C;
    outline-offset: 2px;
} 