@charset "utf-8";


/* 정보지원 공지사항 서브타이틀 노출x */
.info-notice-section .board-list-subtit { display: none !important; } 
.sub_infomation p{
    margin-bottom: 5px;
    font-weight: 500;
}
.info-program-list{
    padding: 100px 0 70px;
    background-color: #fff;
}
.info-program-list-wrap{
    width: 100%;
}
.info-program-list-main-title{
    margin-bottom: 40px;
    text-align: center;
}


.applicationForm {
    max-width: 900px; 
    margin: 0 auto;
    padding: 30px 0;
    font-family: 'Pretendard', 'Helvetica Neue', Arial, sans-serif;
}


.applicationForm .form-row {
    display: flex;
    gap: 20px; 
    margin-bottom: 20px;
}


.applicationForm .form-group {
    flex: 1; 
    display: flex;
    flex-direction: column;
}


.applicationForm > .form-group {
    max-width: 100%;
}


.applicationForm .form-group label {
    font-size: 15px;
    font-weight: 600;
    color: #333; 
    margin-bottom: 8px;
    display: block;
}


.applicationForm .form-group input[type="text"],
.applicationForm .form-group textarea,
.applicationForm .form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    color: #444;
    transition: border-color 0.2s;
    box-sizing: border-box;
    height: 42px;
    appearance: none; 
    -webkit-appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23333333" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592c.859 0 1.319 1.013.753 1.658l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.applicationForm .form-group textarea {
    height: auto;
    min-height: 100px;
}

/* 2026.01.12 이상호 수정. 텍스트 박스에는 아래삼각형이 필요없다. */
.applicationForm .form-group input[type="text"],
.applicationForm .form-group textarea {
    background-image: none;
}



.applicationForm .form-group input[type="text"]:focus,
.applicationForm .form-group textarea:focus,
.applicationForm .form-group select:focus {
    border-color: #990048; 
    outline: none;
    box-shadow: 0 0 0 1px rgba(153, 0, 72, 0.2);
}


.applicationForm .form-group input::placeholder,
.applicationForm .form-group textarea::placeholder {
    color: #bbb;
    font-weight: 300;
}


.applicationForm .contact-input,
.applicationForm .email-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.applicationForm .contact-input input[type="text"] {
    text-align: center;
    padding: 12px 8px; 
}

.applicationForm .contact-input span,
.applicationForm .email-input span {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.applicationForm .email-input input[type="text"] {
    flex-grow: 1;
    min-width: 50px; 
}

.applicationForm .email-input #domainSelect {
    flex-shrink: 0;
    width: auto;
}

.applicationForm .sub-page-cat-tit {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    border-bottom: 2px solid #990048;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.applicationForm .sub-page-cat-sub p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 5px;
}

.applicationForm .sub-page-cat-sub input[type="checkbox"] {
    margin-right: 5px;
    margin-left: 15px;
    vertical-align: middle;
    width: auto; 
    height: auto;
    border: none;
    padding: 0;
}
.applicationForm .sub-page-cat-sub input[type="checkbox"]:first-child {
    margin-left: 0;
}

.applicationForm .form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.applicationForm .form-actions button,
.applicationForm .form-actions a {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    display: inline-block;
    text-align: center;
    min-width: 100px;
}

.applicationForm .submit-button {
    background-color: #990048;
    color: #fff;
    border: 1px solid #990048;
}

.applicationForm .submit-button:hover {
    background-color: #7a003a; 
}
.applicationForm .cancel-button {
    background-color: #fff;
    color: #555;
    border: 1px solid #ccc;
}

.applicationForm .cancel-button:hover {
    background-color: #f0f0f0;
    color: #333;
    border-color: #aaa;
}

.sub_infomation, 
.sub_form {
    opacity: 0;
    visibility: hidden; 
    height: 0;          
    overflow: hidden;
    transition: opacity 0.4s ease-in-out, 
                visibility 0.4s ease-in-out, 
                height 0.4s 0.1s; 
}


.sub_infomation.active, 
.sub_form.active {
    opacity: 1;
    visibility: visible;
    height: auto; 
    min-height: 50px; 
    transition-delay: 0s; 
}

.applicationForm .attachment-guide {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    padding: 10px 15px;
    background-color: #f9f9f9; 
    border: 1px dashed #e0e0e0;
    border-radius: 4px;
}

.applicationForm .file-input-custom {
    display: none;
}

.applicationForm .file-input-placeholder {
    display: inline-block;
    padding: 8px 20px;
    background-color: #990048; 
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.applicationForm .file-input-placeholder:hover {
    background-color: #7a003a;
}

.applicationForm .file-name-display {
    font-size: 14px;
    color: #666;
    margin-left: 15px;
}

.radio-options-inline {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}


.radio-options-inline input[type="radio"]:focus,
.radio-options-inline input[type="radio"]:active {
    outline: none !important;
}

.radio-options-inline input[type="radio"] {
    appearance: none;
}

.radio-options-inline label:focus,
.radio-options-inline label:active {
    outline: none !important;
}

.radio-options-inline input[type="radio"]:focus + label::before {
    border-color: #dcdcdc;
    box-shadow: inset 0 0 0 5px #fff;
}

.radio-options-inline label {
    font-size: 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 5px 25px 5px 0px; 
    color: #444; 
    transition: color 0.2s ease-out;
}

.radio-options-inline input[type="radio"] {
    appearance: none;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    border: 2px solid #dcdcdc;
    border-radius: 250px;
    width: 15px;
    height: 15px;
    transition: border 0.2s ease-out;
}

.radio-options-inline label input[type="radio"] {
    margin-right: 10px; 
}

.radio-options-inline input[type="radio"]:checked + * {
    color: #990048;
}

.radio-options-inline input[type="radio"]:disabled {
    background-color: #dcdcdc;
    border-color: #dcdcdc;
}

.radio-options-inline input[type="radio"]:disabled + * {
    color: #dcdcdc;
}
.applicationForm .meta-fab-section h6{
    margin: 20px 0;
}
.applicationForm input[type="date"] {
    width: 100%; 
    height: 40px; 
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    color: #333;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease;
}

.applicationForm input[type="date"]:focus {
    border-color: #990048; 
    outline: none;
}

.applicationForm input[type="date"]::-webkit-calendar-picker-indicator {

    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: transparent;
    color: transparent;
    position: absolute; 
}

.facility-list-wrap {
    width: 100%;
    max-width: 1200px; 
    margin: 20px auto;
}


.facility-item {
    display: flex; 
    align-items: stretch; 
    border: 1px solid #ddd;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden; 
}

.item-image {
    flex-shrink: 0; 
    width: 250px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}


.item-info {
    flex-grow: 1; 
    padding: 20px;
}

.item-info .title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee; 
    padding-bottom: 5px;
}

.item-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item-info li {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 5px;
}


.item-action {
    flex-shrink: 0;
    width: 100px; 
    background-color: #990048; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-action .btn-reserve {
    display: block;
    width: 100%;
    height: 100%; 
    border: none;
    background: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.item-action .btn-reserve:hover {
    background-color: #56062b; 
}

.fullcalendar-custom-style {
    font-family: 'Malgun Gothic', dotum, sans-serif;
    color: #333;
}

.calendar-main-content {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

#calendar-container {
    flex-basis: 70%; 
    flex-grow: 1;
}

.fc-header-toolbar {
    margin-bottom: 20px !important;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.fc .fc-button-group > .fc-button {
    background-color: #fff !important;
    color: #555 !important;
    border-color: #ddd !important;
    font-weight: 500;
}


.fc .fc-button-primary {
    background-color: #990048 !important;
    border-color: #990048 !important;
    color: #fff !important;
    font-weight: 600;
    text-transform: none; 
}

.fc-toolbar-title {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.1s;
    font-size: 24px !important;
    font-weight: 700 !important;
}
.fc-toolbar-title:hover {
    background-color: #f0f0f0;
}

/* --- 달력 테이블 및 셀 스타일 --- */

.fc-theme-standard th {
    background-color: #f7f7f7 !important;
    color: #333;
    font-weight: 600;
    border-color: #e0e0e0 !important;
    padding: 10px 0;
    font-size: 15px;
}


.fc-day-sun { color: #d9534f !important; }
.fc-day-sat { color: #428bca !important; }


.fc-daygrid-day {
    height: 80px;
    border-color: #e0e0e0 !important;
    transition: background-color 0.1s;
    position: relative; 
    overflow: hidden; 
    cursor: pointer;
}
.fc-daygrid-day:hover {
    background-color: #fafafa;
}

/* 날짜 숫자 위치 */
.fc-daygrid-day-number {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 12px;
    color: #888;
    z-index: 2; 
}

.fc-daygrid-event-harness,
.fc-event {
    display: none !important;
}

/*  예약 상태 시각화: 셀 배경색 + 색상 띠 */

/* 하단띠*/
.fc-daygrid-day::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px; 
    z-index: 1;
    opacity: 0.85;
}

/* 예약 가능  */
.fc-daygrid-day.status-available::after { background-color: #5cb85c; }
.fc-daygrid-day.status-available { background-color: #f7fff7 !important; }

/* 일부 예약 있음 */
.fc-daygrid-day.status-partial::after { background-color: #f0ad4e; }
.fc-daygrid-day.status-partial { background-color: #fff0f5 !important; } 

/* 예약 마감 (Full)*/
.fc-daygrid-day.status-full::after { background-color: #990048; }
.fc-daygrid-day.status-full { 
    background-color: #f5f5f5 !important;
    cursor: default; 
}
.fc-daygrid-day.status-full .fc-daygrid-day-number { color: #aaa; }


/* 오늘 날짜 셀 강조 */
.fc-day-today {
    background-color: #fff !important;
    box-shadow: inset 0 0 0 2px #990048; 
}
.fc-day-today::after {
    z-index: 3;
}


/* --- 2. 우측 미니 게시판 영역  --- */
.monthly-schedule-container {
    flex-basis: 30%; 
    flex-shrink: 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    overflow-y: auto; 
}

.schedule-header {
    font-size: 20px;
    font-weight: 700;
    color: #990048;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid #990048;
}

.schedule-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-list li {
    margin-bottom: 15px;
    font-size: 14px;
}

.schedule-list .date {
    font-weight: 700;
    color: #333;
    display: block;
    margin-bottom: 3px;
}

.schedule-list .detail {
    color: #666;
    padding-left: 10px;
    position: relative;
}
.schedule-list .detail::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #990048;
}

.fc-daygrid-event-harness {
    padding: 1px 2px; /* 셀 내부 여백 조정 */
}
.fc-event {
    background-color: transparent !important;
    border: none !important;
    color: #990048 !important;
    font-size: 10px; 
    font-weight: 500;
    padding: 0;
    margin: 0;
    text-align: left;
    white-space: normal;
    display: block !important; 
}
.fc-event-main-hook {
    max-height: 50px; 
    overflow: hidden;
}
.fc-event-title {
    line-height: 1.3;
}

/* --- 예약 시스템 (토글) 영역 스타일 --- */

.facility-list-wrap {
    width: 100%;
    max-width: 1200px; 
    margin: 20px auto;
}

.facility-item-group { 
    margin-bottom: 20px; 
}


.facility-item {
    display: flex; 
    align-items: stretch; 
    border: 1px solid #ddd;
    margin-bottom: 0; 
    background-color: #fff;
    border-top-left-radius: 4px; 
    border-top-right-radius: 4px;
    overflow: hidden; 
}

.item-image {
    flex-shrink: 0; 
    width: 250px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}


.item-info {
    flex-grow: 1; 
    padding: 20px;
}

.item-info .title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee; 
    padding-bottom: 5px;
}

.item-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.item-info li {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 5px;
}


.item-action {
    flex-shrink: 0;
    width: 100px; 
    background-color: #990048; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-action .btn-reserve {
    display: block;
    width: 100%;
    height: 100%; 
    border: none;
    background: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.item-action .btn-reserve:hover {
    background-color: #56062b; 
}

.fullcalendar-custom-style {
    font-family: 'Malgun Gothic', dotum, sans-serif;
    color: #333;
}


/* 예약 폼 및 UI */

/* 예약 섹션 + 입력 폼  */
.reservation-form-wrap {
    border: 2px solid #990048;
    padding: 20px;
    margin-top: -1px;
    border-radius: 0 0 4px 4px; 
    display: none;
    transition: all 0.3s ease-in-out;
}

.reservation-form-wrap.active {
    display: block;
}

/* 예약 시스템 (달력/시간표) 스타일 */
.reservation-section { 
    margin-bottom: 30px; 
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.res-container { 
    display: flex; 
    gap: 20px; 
}
.res-calendar-wrap { 
    flex-basis: 50%;
    overflow-x: auto; 
    padding-bottom: 5px;
}
.res-time-wrap { 
    flex-basis: 50%; 
}

.equipment-info h5 { 
    font-size: 16px; 
    color: #990048; 
    border-bottom: 1px dashed #ddd; 
    padding-bottom: 5px; 
    margin-bottom: 10px; 
    margin-top: 10px; 
}
.equipment-info ul { 
    list-style: disc; 
    padding-left: 20px; 
    font-size: 14px; 
    color: #666; 
}

.time-slot-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px; 
    margin-top: 20px; 
}
.time-slot-btn { 
    background-color: #f7f7f7; 
    border: 1px solid #ddd; 
    padding: 8px 5px; 
    text-align: center; 
    cursor: pointer; 
    font-size: 13px; 
    color: #333;
    border-radius: 4px;
}
.time-slot-btn.selected { 
    background-color: #990048; 
    color: #fff; 
    border-color: #990048; 
    font-weight: bold;
}
.time-slot-btn.unavailable { 
    background-color: #e0e0e0; 
    color: #999; 
    cursor: not-allowed; 
    text-decoration: line-through;
}

/* 선택된 날짜 스타일 */
.fc-daygrid-day.selected-date { 
    border: 2px solid #990048 !important; 
    background-color: #fff0f5 !important;
}

/* --- 입력 폼 스타일 --- */
.input-form-section { 
    padding-top: 20px; 
}
.input-form-section h5 {
    font-size: 18px; 
    color: #333; 
    margin-bottom: 20px; 
    font-weight: 700;
}
.form-row { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 15px; 
}
.form-group { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
}
.form-group label { 
    font-weight: bold; 
    margin-bottom: 5px; 
    color: #555; 
    font-size: 14px;
}
.form-group input, .form-group textarea, .form-group select { 
    padding: 10px; 
    border: 1px solid #ddd; 
    border-radius: 4px; 
    font-size: 14px; 
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #990048;
    outline: none;
}
.contact-input, .email-input { 
    display: flex; 
    align-items: center; 
    gap: 5px; 
}
.contact-input input { 
    width: calc(33.3% - 10px); 
    text-align: center; 
}
.email-input input:first-child { 
    flex: 1; 
}
.email-input input:nth-child(3) { 
    flex: 1; 
}
.email-input select { 
    flex: 0.8; 
}
.form-group textarea { 
    height: 80px; 
    resize: vertical; 
}
.radio-options-inline { 
    display: flex; 
    gap: 20px; 
    align-items: center; 
    margin-top: 5px; 
}
.radio-options-inline label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}
.radio-options-inline input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 5px;
    transition: border-color 0.2s;
    position: relative;
    top: 0;
    left: 0;
}
.radio-options-inline input[type="radio"]:checked {
    border-color: #990048;
    background-color: #fff;
}
.radio-options-inline input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #990048;
    border-radius: 50%;
}


/* 개인정보 동의 테이블 스타일 */
.applicationForm .meta-fab-section {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #f9f9f9;
}
.applicationForm .meta-fab-section .sub-page-cat-tit { 
    font-size: 16px; 
    font-weight: bold; 
    color: #333; 
    margin-bottom: 10px;
}
.applicationForm .meta-fab-section .sub-page-cat-sub p { 
    font-size: 13px; 
    color: #777; 
    line-height: 1.4;
}
.applicationForm .meta-fab-section h6 { 
    font-size: 15px; 
    margin-top: 20px; 
    margin-bottom: 10px; 
    color: #333; 
    font-weight: bold;
}
.applicationForm .meta-fab-section table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-bottom: 20px; 
    font-size: 13px; 
}
.applicationForm .meta-fab-section th, 
.applicationForm .meta-fab-section td { 
    border: 1px solid #ddd; 
    padding: 10px; 
    text-align: center; 
}
.applicationForm .meta-fab-section th { 
    background-color: #e6e6e6; 
    font-weight: bold; 
    color: #333; 
}

/*  버튼 */
.form-actions { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 30px; 
    padding-top: 15px; 
    border-top: 1px solid #eee;
}
.submit-button { 
    background-color: #990048; 
    color: #fff; 
    border: none; 
    padding: 12px 30px; 
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}
.submit-button:hover {
    background-color: #56062b;
}
.cancel-button { 
    background-color: #fff; 
    color: #666; 
    border: 1px solid #ddd; 
    padding: 12px 30px; 
    border-radius: 4px; 
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.cancel-button:hover {
    background-color: #f0f0f0;
}
/* --- 모바일 반응형 --- */
@media (max-width: 900px) {
    .calendar-main-content {
        flex-direction: column;
        gap: 30px;
    }
    #calendar-container, .monthly-schedule-container {
        flex-basis: 100%;
        min-height: auto !important; 
    }
    .monthly-schedule-container {
        min-height: 300px;
    }
}
@media (max-width: 768px) {
    .facility-item {
        flex-direction: column; 
    }

    .item-image {
        width: 100%; 
        height: 200px; 
    }

    .item-info {
        padding: 15px;
    }

    .item-action {
        width: 100%; 
        height: 50px; /
    }
     .applicationForm input[type="date"] {
        font-size: 16px; 
        padding: 0 8px;
        min-height: 44px; 
    }
    
    .applicationForm .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .applicationForm .form-row > .form-group {
        margin-bottom: 20px;
    }

    .applicationForm .contact-input input[type="text"] {
        flex: 1;
        min-width: 0;
    }
    .applicationForm .email-input {
        flex-wrap: wrap;
    }
    .applicationForm .email-input input[type="text"] {
        flex-grow: 1;
        min-width: 30%;
    }
    .applicationForm .email-input #domainSelect {
        flex-grow: 1;
        width: 100%; 
        margin-top: 5px;
        order: 4; 
    }
    .applicationForm .email-input span {
        align-self: center;
        padding-top: 0;
    }
    .applicationForm .meta-fab-section {
        padding: 20px;
    }
    
    .applicationForm .form-actions {
        flex-direction: row;
        gap: 10px;
        margin-top: 30px;
    }
    
    .applicationForm .form-actions button,
    .applicationForm .form-actions a {
        flex: 1; 
        max-width: 150px;
    }

    .responsive-table-wrap {
        width: 100%;
        -webkit-overflow-scrolling: touch; 
        margin-bottom: 20px;
    }

    .responsive-table-wrap table {
        width: 100%;
        min-width: 600px; 
        border-collapse: collapse;
        margin: 0; 
    }
    
    .applicationForm .meta-fab-section th,
    .applicationForm .meta-fab-section td {
        padding: 8px 10px; 
        font-size: 12px; 
        display: table-cell; 
    }


    .applicationForm .meta-fab-section th {
        width: 30%;
        white-space: nowrap; 
    }

    .res-container { 
        flex-direction: column; 
        gap: 30px;
    }
    .res-calendar-wrap, 
    .res-time-wrap { 
        flex-basis: 100%; 
        overflow-x: auto;
    }

    /* 시간 버튼 간격 조절 */
   .time-slot-grid {
        grid-template-columns: repeat(4, minmax(90px, 1fr)); 
        width: max-content; 
        min-width: 100%; 
        margin-top: 20px;
        gap: 8px; 
    }

    /* 달력 섹션 타이틀 */
    .res-calendar-wrap h5 {
        font-size: 16px; /* 모바일에 맞게 글꼴 크기 축소 */
        margin-bottom: 15px;
    }

    /* 4. FullCalendar 타이틀 (월/년도) 조정 */
    .fc-header-toolbar.fc-toolbar {
        margin-bottom: 0.5em !important; 
    }
    .fc-toolbar-title {
        font-size: 1.1em; 
        font-weight: 700;
    }

    /* FullCalendar 버튼 */
    .fc-toolbar-chunk .fc-button-group,
    .fc-toolbar-chunk .fc-toolbar-chunk:first-child .fc-button-group {
        display: flex;
        flex-wrap: nowrap;
    }
    .fc-button {
        padding: 0.4em 0.8em; /* 버튼 패딩 축소 */
        font-size: 0.8em; /* 버튼 글꼴 크기 축소 */
        margin: 0 !important;
        white-space: nowrap;
    }
    
    /* 6. 요일 헤더 (일, 월, 화...) 축소 */
    .fc-col-header-cell-cushion {
        font-size: 0.75em; /* 요일 글꼴 크기 축소 */
        padding: 2px 0;
    }

    /* 7. 날짜 셀 디자인 및 크기 조정 */
    .fc-daygrid-day-number {
        font-size: 0.8em; 
        padding: 2px;
    }
    .fc-daygrid-event-harness {
        margin-bottom: 1px; 
    }
    .fc-daygrid-day-frame {
        min-height: 40px; 
    }
    
    .fc-daygrid-body, .fc-daygrid-body table {
        width: 100% !important;
    }
    .fc .fc-scrollgrid-sync-table {
        min-width: 100%; 
        table-layout: fixed; 
    }

    .meta-fab-section table {
        table-layout: fixed; 
        width: 100%; 
        font-size: 12px; 
    }

    .meta-fab-section th, 
    .meta-fab-section td {
        white-space: normal; 
        word-wrap: break-word; 
        padding: 8px 5px; 
        vertical-align: top; 
    }

    .form-group > div[style*="display: flex"] {
        flex-direction: column; 
        gap: 15px !important; 
    }
    
    .form-group > div[style*="display: flex"] select {
        width: 100% !important; 
        flex: none !important;
    }
    .form-group > div[style*="display: flex"] input[type="text"] {
        width: 100% !important;
        flex: none !important;
    }
        
}

@media (max-width: 480px) {
    .applicationForm .form-actions button,
    .applicationForm .form-actions a {
        font-size: 15px;
    }
}