/* Calendar styling */
#calendar {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
}

/* Booked date styles */
.BookBookedDate {
    background-color: rgba(255, 0, 0, 0.2); /* Light red shading for booked dates */
    position: relative;
    border-radius: 4px;
    min-height: 50px; /* Ensure good touch target size on mobile */
}

.BookBookedDate .BookTooltip {
    display: none;
}

.BookBookedDate:hover .BookTooltip {
    display: block;
    position: absolute;
    top: -5px;
    right: 5px;
    background-color: black;
    color: white;
    padding: 3px;
    font-size: 10px;
    border-radius: 3px;
}

.BookBookedDate .BookBadge {
    background-color: red;
    color: white;
    padding: 2px 5px;
    font-size: 10px;
    border-radius: 3px;
    position: absolute;
    top: 5px;
    right: 5px;
}

/* Media queries for mobile responsiveness */
@media (max-width: 768px) {
    #calendar {
        padding: 5px;
    }

    .BookBookedDate {
        min-height: 60px; /* Make booked dates more touch-friendly on mobile */
    }

    /* Adjust tooltip positioning for mobile */
    .BookBookedDate:hover .BookTooltip {
        top: 5px;
        right: 5px;
    }

    /* Badge adjustments for mobile */
    .BookBadge {
        font-size: 9px;
        padding: 1px 4px;
        top: 8px;
        right: 8px;
    }
}
