.calendar-section {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.calendar-container {
    display: flex;
    gap: 32px;
}

.calendar {
    flex: 1;
    min-width: 500px;
    --calendar-day-height: 80px;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    margin-bottom: 20px;
}

.calendar-title {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.today-btn {
    padding: 4px 8px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.today-btn:hover {
    background: #1e40af;
}

.calendar-nav {
    display: flex;
    gap: 8px;
}

.nav-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-day-header {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    padding: 12px 0;
    background: #f8fafc;
    box-sizing: border-box;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;

}

.calendar-day-header:nth-child(7n) {
    border-right: none;
}

.calendar-day-header.sunday {
    color: #ef4444;
}

.calendar-day-header.saturday {
    color: #3b82f6;
}

.calendar-day {
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px;
    font-size: 14px;
    cursor: default;
    transition: all 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    overflow: hidden;
    min-height: var(--calendar-day-height, 80px);
    height: auto;
    box-sizing: border-box;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day:nth-last-child(-n+7) {
    border-bottom: none;
}

#calendarDays {
    display: contents;
}

.calendar-day:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.calendar-day.has-event {
    background: #f1f5ff;
    box-shadow: rgba(37, 99, 235, 0.2);
    font-weight: 600;
    border-color: #e2e8f0;
}

.calendar-day.today {
    background: #103585;
    color: white;
    font-weight: 700;
    box-shadow: #93c5fd;
}

.calendar-day.other-month {
    color: #cbd5e1;
}

.calendar-grid> :nth-child(7n) {
    border-right: none;
}

 #ganttChart .gantt-inner {
     position: relative;
 }
 
 #ganttChart .gantt-inner::before {
     content: '★ 06/18 창립기념일';
     position: absolute;
     top: 6px;
     left: calc(160px + 873px);
     transform: translateX(10px);
     background: rgba(255, 255, 255, 0.98);
     color: #ef4444;
     border: 1px solid rgba(239, 68, 68, 0.5);
     border-radius: 8px;
     padding: 4px 8px;
     font-size: 12px;
     font-weight: 700;
     line-height: 1.2;
     white-space: nowrap;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
     pointer-events: none;
     z-index: 6;
 }
 
 #ganttChart .gantt-inner::after {
     content: '';
     position: absolute;
     top: 0;
     bottom: 0;
     left: calc(160px + 873px);
     border-left: 2px dashed #ef4444;
     opacity: 0.9;
     pointer-events: none;
     z-index: 5;
 }
