/* Custom styles for BNB Calendar Widget */

.calendar-day {
    transition: all 0.2s ease-in-out;
}

.calendar-day:hover {
    transform: scale(1.05);
}

.calendar-day.available:hover {
    background-color: #f3f4f6;
}

.calendar-day.selected {
    background-color: #ff385c;
    color: white;
}

.calendar-day.in-range {
    background-color: #ffe4e6;
    color: #ff385c;
}

.calendar-day.start-date {
    background-color: #ff385c;
    color: white;
    border-radius: 50% 0 0 50%;
}

.calendar-day.end-date {
    background-color: #ff385c;
    color: white;
    border-radius: 0 50% 50% 0;
}

.calendar-day.single-date {
    background-color: #ff385c;
    color: white;
    border-radius: 50%;
}

.calendar-day.unavailable {
    background-color: #f9fafb;
    color: #d1d5db;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-day.past {
    color: #d1d5db;
    cursor: not-allowed;
}

.calendar-nav-btn {
    transition: all 0.2s ease-in-out;
}

.calendar-nav-btn:hover {
    background-color: #f3f4f6;
    transform: scale(1.1);
}

.calendar-nav-btn:active {
    transform: scale(0.95);
}

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

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

/* Mobile responsiveness */
@media (max-width: 640px) {
    .calendar-day {
        font-size: 0.875rem;
        padding: 0.5rem;
    }
    
    .calendar-header {
        font-size: 1.125rem;
    }
}