#fc {font-size:14px;font-family:'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif}
.fc-widget-header{
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
}
.fc-row.fc-widget-header{border-right:0 !limportant;}
.fc-head {}
.fc-day-header {}
.fc-day-header span{width:100%;height:100%;display:block;padding: 15px 10px;border-bottom:1px solid #bbb !important;font-weight: 500;line-height:1;font-size: 11px;text-transform: uppercase;box-sizing: border-box;vertical-align: top;}
.fc-sun span, .fc-sun a.fc-day-number {color: #ff0000;}
.fc-unthemed .fc-content, .fc-unthemed .fc-divider, .fc-unthemed .fc-list-heading td, .fc-unthemed .fc-list-view, .fc-unthemed .fc-popover, .fc-unthemed .fc-row, .fc-unthemed tbody, .fc-unthemed td, .fc-unthemed th, .fc-unthemed thead{border-color: #e9e9e9 !important;}
.fc-head-container.fc-widget-header{border-right:0;}
.fc-day-grid-event {
  display: flex;
  align-items: center; /* 이벤트 박스 내부 텍스트 세로 중앙 정렬 */
}
.fc-day-grid-event .fc-content {
  display: flex;
  align-items: center; /* 내부 콘텐츠도 세로 중앙 정렬 */
  width: 100%;
}
.fc-day-grid-event .fc-title {
  white-space: normal;  /* 잘림 대신 줄바꿈 허용 */
  line-height: 1.3;
  padding: 4px;
  font-weight: 600;
  border: 0;
}

/* v5: 월간 보기 이벤트 (업그레이드/혼합 마크업 대비) */
.fc-daygrid-event {
  display: flex;
  align-items: center;
}
.fc-daygrid-event .fc-event-main {
  display: flex;
  align-items: center;
  width: 100%;
}
.fc-daygrid-event .fc-event-title {
  white-space: normal;
  line-height: 1.2;
}

/* 선택: 중앙 정렬 가독성을 위한 최소 높이 */
.fc-day-grid-event, .fc-daygrid-event {
  min-height: 24px;
}


.fc-theme-standard td.fc-today,
.fc-ltr .fc-dayGrid-view td.fc-today,
td.fc-today {
  background: #fff !important;
}
#fc .fc-today{position:relative;}
#fc .fc-today .fc-day-number{color:#c7005f;}
#fc .fc-today:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    border: 2px solid #c7005f;
}
.fc-day-top.fc-today:after{border-bottom:0 !important; border-radius:3px 3px 0 0 !important;}

#calendar {
  /* margin-top: -20px; */
}