.calendar-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.calendar-controls button {
    border: none;
    background: #e5e7eb;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

#monthLabel {
    font-weight: 600;
    font-size: 16px;
}

.schedule {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* Header */
.schedule-header {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    background: #e6e6e6;
    border-bottom: 1px solid #c3c3c3;
}

.day {
    text-align: center;
    padding: 10px 5px;
    font-weight: 600;
    color: #374151;
}

.day small {
    display: block;
    font-weight: 400;
    color: #9ca3af;
}

.day.active {
    color: #2563eb;
}

/* Body */
.schedule-body {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    position: relative;
    height: auto;
}

/* Time column */
.time-col {
    border-right: 1px solid #e5e7eb;
}

.time-col div {
    height: 60px;
    font-size: 12px;
    color: #6b7280;
    padding: 15px;
}

/* Day columns */
.day-col {
    position: relative;
    border-right: 1px solid #f0f2f5;
}

/* Events */
.event {
    position: absolute;
    left: 8px;
    right: 8px;
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    z-index: 10;
}

.event small {
    display: block;
    font-size: 11px;
    opacity: .8;
}

/* Colors */
.green {
    background: #e6f7f1;
    border-left: 4px solid #28b661;
}

.blue {
    background: #e8f0fe;
    border-left: 4px solid #2a41e8;
}

.cyan {
    background: #e0f7fa;
    border-left: 4px solid #06b6d4;
}

.yellow {
    background: #fff7e6;
    border-left: 4px solid #eab821;
}
.red {
    background: #ffe6e6;
    border-left: 4px solid #e53038;
}
.schedule-body {
    background-image:
        linear-gradient(to bottom, #e5e7eb 1px, transparent 1px),
        linear-gradient(to bottom, #f1f5f9 1px, transparent 1px);
    background-size:
        100% 60px,
        100% 30px;
}
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event {
    transition: box-shadow .2s ease, transform .2s ease;
}

.event:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
    z-index: 20;
    cursor: pointer;
}
