.calendar-widget {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-family: Arial, sans-serif;
}

.calendar-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.calendar-navigation button {
    background: #f5f5f5;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: background 0.2s;
}

.calendar-navigation button:hover {
    background: #e0e0e0;
}

.calendar-month {
    display: inline-block;
    vertical-align: top;
    width: 45%;
    margin: 0 2.5%;
    text-align: center;
}

.calendar-month h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #333;
}

.calendar-week-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #666;
}

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    position: relative;
    font-weight: bold;
    font-size: 14px;
    cursor: default;
}

.calendar-day.empty {
    background: transparent;
}

.calendar-day.available {
    background: #f0f8fa;
    color: #333;
}

.calendar-day.today {
    background: #2c3e50;
    color: white;
}

.calendar-day.booked {
    background: #ff6b6b;
    color: white;
}

.calendar-day.booked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 40px solid transparent;
    border-right: 40px solid #ff6b6b;
    z-index: -1;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 14px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.legend-color.available { background: #f0f8fa; }
.legend-color.today { background: #2c3e50; }
.legend-color.booked { background: #ff6b6b; }