.calendar-root {
    font-family: system-ui, sans-serif;
    background: white;
}

.calendar-week-header,
.calendar-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e5e7eb;
}

.calendar-weekday {
    text-align: center;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    padding: 8px;
    background: #f9fafb;
    color: #6b7280;
    border-bottom: 2px solid #e5e7eb;
}

.calendar-month-header {
    padding: 12px 16px;
    font-weight: 700;
    font-size: 16px;
    background: white;
    border-bottom: 2px solid #e5e7eb;
    margin-top: 16px;
}

.calendar-month-header:first-child {
    margin-top: 0;
}

.sticky {
    position: sticky;
    top: 0;
    z-index: 10;
}

.calendar-day {
    min-height: 100px;
    background: white;
    padding: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.calendar-day:hover {
    background: #f9fafb;
}

.calendar-date {
    font-weight: 600;
    font-size: 12px;
    color: #374151;
    margin-bottom: 4px;
    padding: 2px 4px;
}

.calendar-item {
    margin-top: 2px;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 11px;
    line-height: 1.3;
    cursor: pointer;
    transition: opacity 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-item:hover {
    opacity: 0.8;
}

.calendar-item.availability {
    background: #dbeafe;
    color: #1e40af;
    border-left: 3px solid #3b82f6;
}

.calendar-item.booking {
    background: #dcfce7;
    color: #166534;
    border-left: 3px solid #22c55e;
}

.calendar-item.booking.booked {
    background: #fee2e2;
    color: #991b1b;
    border-left: 3px solid #ef4444;
}

.calendar-item-more {
    margin-top: 2px;
    padding: 2px 4px;
    font-size: 10px;
    color: #6b7280;
    font-weight: 500;
}
