.calendar-widget {
    position: fixed;
    z-index: 2000;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    width: 280px;
}

.calendar-widget.hidden {
    display: none;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.calendar-header button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
}

.calendar-title {
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day-header {
    text-align: center;
    font-size: 0.75rem;
    color: #888;
    padding: 0.25rem;
}

.calendar-day {
    text-align: center;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85rem;
}

.calendar-day:hover {
    background: #f0f0f0;
}

.calendar-day.other-month {
    color: #ccc;
}

.calendar-day.today {
    background: #e8f4ff;
}

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

.calendar-time {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.calendar-time select {
    padding: 0.35rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.calendar-actions {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}
