.calendar-day {
    min-height: 100px;
    transition: all 0.2s;
    position: relative;
}

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

.available {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    color: #1f2937;
}

.premium-available {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1f2937;
    border: 2px solid #f59e0b;
}

/* Guest Reservation - Blue #1976d2 */
.guest-reservation {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
}

/* Golf Reservation - Green #8BC34A */
.golf-reservation {
    background: linear-gradient(135deg, #8BC34A 0%, #7CB342 100%);
    color: white;
}

/* OTA Booking - Orange #FF9800 */
.ota-booking {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
}

/* Owner Reservation - Purple #9C27B0 */
.owner-reservation {
    background: linear-gradient(135deg, #9C27B0 0%, #8E24AA 100%);
    color: white;
}

/* Owner Referral - Pink #E91E63 */
.owner-referral {
    background: linear-gradient(135deg, #E91E63 0%, #D81B60 100%);
    color: white;
}

/* Complimentary - Amber #FFC107 */
.complimentary {
    background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%);
    color: #1f2937;
}

.category-badge {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.25);
    font-weight: 600;
    margin-top: 4px;
}

.holiday-marker {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 1.2rem;
}

.split-day-checkout {
    background: linear-gradient(135deg, var(--checkout-color) 0%, var(--checkout-color) 50%, var(--available-color-start) 50%, var(--available-color-end) 100%) !important;
    color: #1f2937;
}

.split-day-checkin {
    background: linear-gradient(135deg, var(--available-color-start) 0%, var(--available-color-end) 50%, var(--checkin-color) 50%, var(--checkin-color) 100%) !important;
    color: #1f2937;
}

.split-day-both {
    background: linear-gradient(135deg, var(--checkout-color) 0%, var(--checkout-color) 50%, var(--checkin-color) 50%, var(--checkin-color) 100%) !important;
}

.calendar-day.clickable {
    cursor: pointer;
}

.calendar-day.clickable:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #9ca3af;
}

.modal-close:hover {
    color: #374151;
}
