.facilityapply {
	max-width: 1300px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.facilityapply .notice {
	margin: 16px 0 28px;
	color: #666;
}

.facilityapply .calendar-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.facilityapply .calendar-nav strong {
	font-size: 1.5em;
}

.facilityapply .calendar-nav a {
	color: #444;
	text-decoration: none;
}

.facilityapply .calendar-nav a:hover {
	text-decoration: underline;
}

.facilityapply .calendar-nav span, .facilityapply .calendar-nav a {
	min-width: 80px;
}

.facilityapply .calendar-nav a:last-child {
	text-align: right;
}

.facilityapply .calendar {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.facilityapply .calendar th {
	padding: 12px 4px;
	background: #c49d7b;
	color: #fff;
	text-align: center;
}

.facilityapply .calendar td {
	position: relative;
	height: 176px;
	padding: 9px 7px;
	border: 1px solid #e4e4e4;
	vertical-align: top;
}

.facilityapply .calendar td.empty {
	background: #fafafa;
}

.facilityapply .calendar td.past {
	background: #fafafa;
}

.facilityapply .day-number {
	display: block;
	margin-bottom: 7px;
}

.facilityapply .weekday {
	display: none;
}

.facilityapply .past-note {
	display: none;
}

.facilityapply .closed-note {
	position: absolute;
	top: 50%;
	left: 50%;
	color: #999;
	font-size: 15px;
	font-weight: normal;
	transform: translate(-50%, -50%);
}

.facilityapply .calendar td.past .day-number {
	color: #aaa;
}

.facilityapply .slot {
	display: block;
	margin: 2px 0;
	font-size: 12px;
	line-height: 1.45;
	white-space: nowrap;
}

.facilityapply .slot.available {
	color: #333;
	text-decoration: none;
}

.facilityapply .slot.available:before, .facilityapply .slot.unavailable:before {
	content: '';
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 4px;
	border: 1px solid currentColor;
	border-radius: 50%;
}

.facilityapply .slot.available:hover {
	color: #d0004c;
	text-decoration: underline;
}

.facilityapply .slot.unavailable {
	color: #aaa;
}

.facilityapply .legend {
	margin-top: 15px;
	text-align: right;
	font-size: 13px;
}

.facilityapply .legend span {
	margin-left: 12px;
}

.facilityapply .legend-available {
	color: #333;
}

.facilityapply .legend-unavailable {
	color: #aaa;
}

.facilityapply.application-form h2 {
	margin: 30px 0 12px;
	font-size: 1.2em;
}

.facilityapply .form-grid {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	border-top: 2px solid #ddd;
}

.facilityapply .form-grid > label, .facilityapply .form-grid > div {
	padding: 13px 12px;
	border-bottom: 1px solid #e5e5e5;
}

.facilityapply .form-grid > label {
	background: #f8f8f8;
	font-weight: bold;
}

.facilityapply .form-grid strong, .facilityapply .privacy-check strong {
	color: #d0004c;
}

.facilityapply .form-grid input {
	max-width: 100%;
	box-sizing: border-box;
	padding: 8px;
	border: 1px solid #ccc;
}

.facilityapply .form-grid input[type="text"], .facilityapply .form-grid input[type="tel"], .facilityapply .form-grid input[type="email"] {
	width: 320px;
}

.facilityapply .form-grid textarea {
	width: 100%;
	min-height: 80px;
	box-sizing: border-box;
	padding: 8px;
	border: 1px solid #ccc;
}

.facilityapply .captcha-input {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.facilityapply .captcha-input img {
	width: 100px;
	height: auto;
}

.facilityapply .captcha-input button {
	padding: 7px 10px;
	border: 1px solid #ccc;
	background: #fff;
	cursor: pointer;
}

.facilityapply .captcha-input input {
	width: 90px;
}

.facilityapply .captcha-input span {
	color: #666;
	font-size: 13px;
}

.facilityapply .privacy-text {
	max-height: 220px;
	overflow: auto;
	padding: 18px;
	border: 1px solid #ddd;
	white-space: normal;
	line-height: 1.6;
}

.facilityapply .privacy-check {
	display: block;
	margin-top: 12px;
	text-align: right;
}

.facilityapply .form-actions {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 30px 0;
}

.facilityapply .form-actions a, .facilityapply .form-actions button {
	display: inline-block;
	padding: 11px 24px;
	border: 1px solid #ddd;
	background: #fff;
	color: #333;
	text-decoration: none;
	cursor: pointer;
	font: inherit;
}

.facilityapply .form-actions button {
	border-color: #d0004c;
	background: #d0004c;
	color: #fff;
}

.facilityapply .complete-box {
	margin-top: 30px;
	padding: 35px 20px;
	border: 1px solid #ddd;
	text-align: center;
}

.facilityapply .complete-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #d0004c;
	color: #fff;
	font-size: 29px;
}

.facilityapply .complete-box h2 {
	margin: 0 0 8px;
	font-size: 1.4em;
}

.facilityapply .complete-box p {
	margin: 0;
	color: #666;
}

.facilityapply.application-complete h3 {
	margin: 30px 0 12px;
	font-size: 1.2em;
}

.facilityapply .complete-details {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	margin: 0;
	border-top: 2px solid #ddd;
}

.facilityapply .complete-details dt, .facilityapply .complete-details dd {
	margin: 0;
	padding: 13px 16px;
	border-bottom: 1px solid #e5e5e5;
}

.facilityapply .complete-details dt {
	background: #f8f8f8;
	font-weight: bold;
}

.facilityapply .complete-details dd {
	overflow-wrap: break-word;
}

.facilityapply .complete-note {
	margin: 14px 0 0;
	color: #666;
}

.facilityapply .history-link {
	margin: -10px 0 22px;
	text-align: right;
}

.facilityapply .history-link a {
	display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 30px;
    min-height: 50px;

    background: #66503d;
    border: 1px solid #66503d;
    border-radius: 50px;

    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: -0.3px;

    transition: all 0.2s ease;
    box-sizing: border-box;
}


.facilityapply .history-link a:hover{
  background: #443326;
    border-color: #443326;
    color: #fff !important;
    transform: translateY(-2px);
}

.gomo-lookup-btn:hover {
    background: #443326;
    border-color: #443326;
    color: #fff !important;
    transform: translateY(-2px);
}

.facilityapply .lookup-panel {
	display: grid;
	grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
	margin-top: 20px;
	background: #f5f2f0;
}

.facilityapply .lookup-intro {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 280px;
	padding: 36px;
	box-sizing: border-box;
	background: #69645f;
	color: #fff;
}

.facilityapply .lookup-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: #fff;
	color: #69645f;
	font-size: 22px;
}

.facilityapply .lookup-intro strong {
	font-size: 1.7em;
}

.facilityapply .lookup-intro p {
	max-width: 280px;
	line-height: 1.6;
}

.facilityapply .lookup-form {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	align-content: center;
	align-items: center;
	gap: 12px 18px;
	padding: 32px 6%;
	box-sizing: border-box;
}

.facilityapply .lookup-help {
	grid-column: 1 / -1;
	margin: 0 0 10px;
	color: #666;
}

.facilityapply .lookup-form label {
	font-weight: bold;
}

.facilityapply .lookup-form label strong {
	color: #d0004c;
}

.facilityapply .lookup-form input {
	width: 100%;
	max-width: 300px;
	padding: 10px;
	border: 1px solid #ccc;
	box-sizing: border-box;
	font: inherit;
}

.facilityapply .lookup-captcha {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
}

.facilityapply .lookup-captcha img {
	width: 100px;
}

.facilityapply .lookup-captcha input {
	width: 85px;
}

.facilityapply .lookup-captcha button {
	padding: 9px 10px;
	border: 1px solid #ccc;
	background: #fff;
	cursor: pointer;
}

.facilityapply .lookup-actions {
	grid-column: 1 / -1;
	display: flex;
	gap: 7px;
	justify-content: center;
	margin-top: 16px;
}

.facilityapply .lookup-actions a, .facilityapply .lookup-actions button, .facilityapply .history-table a, .facilityapply .cancel-form button {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid #bbb;
	background: #fff;
	color: #333;
	text-decoration: none;
	font: inherit;
	cursor: pointer;
}

.facilityapply .lookup-actions button {
	border-color: #c49d7b;
	background: #c49d7b;
	color: #fff;
}

.facilityapply .history-scroll {
	max-width: 100%;
	overflow-x: auto;
}

.facilityapply .history-table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
}

.facilityapply .history-table th, .facilityapply .history-table td {
	padding: 12px 9px;
	border-bottom: 1px solid #ddd;
	text-align: center;
}

.facilityapply .history-table th {
	background: #f5f2f0;
}

.facilityapply .history-table a {
	padding: 6px 12px;
	white-space: nowrap;
}

.facilityapply .history-empty, .facilityapply .history-closed {
	padding: 18px;
	border: 1px solid #ddd;
	background: #fafafa;
}

.facilityapply .cancel-form {
	margin: -20px 0 30px;
	text-align: center;
}

.facilityapply .cancel-form button {
	border-color: #d0004c;
	color: #d0004c;
}

.facilityapply .form-grid input:disabled, .facilityapply .form-grid textarea:disabled {
	background: #f8f8f8;
	color: #555;
}

@media (max-width: 700px) {
	.facilityapply {
		padding: 0 12px;
	}

	.facilityapply .calendar-nav strong {
		font-size: 1.2em;
		white-space: nowrap;
	}

	.facilityapply .calendar-nav a, .facilityapply .calendar-nav span {
		min-width: 0;
		font-size: 13px;
	}

	.facilityapply .calendar, .facilityapply .calendar tbody, .facilityapply .calendar tr {
		display: block;
		width: 100%;
	}

	.facilityapply .calendar thead, .facilityapply .calendar td.empty {
		display: none;
	}

	.facilityapply .calendar td {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 5px 10px;
		width: 100%;
		height: auto;
		min-height: 0;
		margin-bottom: 10px;
		padding: 12px;
		box-sizing: border-box;
	}

	.facilityapply .calendar td .day-number {
		grid-column: 1 / -1;
		margin-bottom: 3px;
		font-size: 16px;
	}

	.facilityapply .calendar td.past .slot {
		display: none;
	}

	.facilityapply .calendar td.past .past-note {
		display: block;
		grid-column: 1 / -1;
		color: #999;
	}

	.facilityapply .calendar td.closed {
		min-height: 100px;
	}

	.facilityapply .weekday {
		display: inline;
		font-size: 13px;
		font-weight: normal;
	}

	.facilityapply .slot {
		margin: 0;
		padding: 5px 3px;
		font-size: 13px;
	}

	.facilityapply .slot.available {
		border: 1px solid #ddd;
		border-radius: 3px;
		text-align: center;
	}

	.facilityapply .slot.unavailable {
		text-align: center;
	}

	.facilityapply .form-grid {
		display: block;
	}

	.facilityapply .form-grid > label {
		display: block;
		padding: 11px 10px 4px;
		border-bottom: 0;
		background: #fff;
	}

	.facilityapply .form-grid > div {
		padding: 4px 10px 12px;
	}

	.facilityapply .form-grid input[type="text"], .facilityapply .form-grid input[type="tel"], .facilityapply .form-grid input[type="email"], .facilityapply .form-grid textarea {
		width: 100%;
	}

	.facilityapply .form-grid input[type="number"] {
		width: 120px;
	}

	.facilityapply .captcha-input input[type="text"] {
		width: 90px;
	}

	.facilityapply .privacy-check {
		text-align: left;
		line-height: 1.5;
	}

	.facilityapply .form-actions {
		flex-direction: column;
	}

	.facilityapply .form-actions a, .facilityapply .form-actions button {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}

	.facilityapply .complete-box {
		padding: 25px 14px;
	}

	.facilityapply .complete-details {
		grid-template-columns: 105px minmax(0, 1fr);
	}

	.facilityapply .complete-details dt, .facilityapply .complete-details dd {
		padding: 12px 10px;
	}

	.facilityapply .history-link {
		margin: -10px 0 18px;
	}

	.facilityapply .lookup-panel {
		display: block;
	}

	.facilityapply .lookup-intro {
		min-height: 0;
		padding: 25px 20px;
	}

	.facilityapply .lookup-intro strong {
		font-size: 1.35em;
	}

	.facilityapply .lookup-intro p {
		margin-bottom: 0;
	}

	.facilityapply .lookup-form {
		display: block;
		padding: 24px 18px;
	}

	.facilityapply .lookup-form label {
		display: block;
		margin: 15px 0 6px;
	}

	.facilityapply .lookup-form input {
		max-width: none;
	}

	.facilityapply .lookup-captcha input {
		width: 85px;
	}

	.facilityapply .lookup-actions a, .facilityapply .lookup-actions button {
		flex: 1;
		text-align: center;
	}
}



/* =========================================
   예약 달력 리디자인
   기존 CSS 맨 아래에 추가
========================================= */

/* 전체 영역 */
.facilityapply {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;

    font-family: "Pretendard", "Noto Sans KR",
                 "Malgun Gothic", sans-serif;

    font-size: 16px;
    line-height: 1.6;
    color: #302c28;
}

.facilityapply *,
.facilityapply *::before,
.facilityapply *::after {
    box-sizing: border-box;
}


/* =========================================
   안내 문구
========================================= */

.facilityapply .notice {
    margin: 15px 0 30px;
    padding: 17px 22px;

    background: #f8f6f3;
    border-left: 3px solid #96785d;

    color: #62584f;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================
   달력 상단 - 이전달 / 년월 / 다음달
========================================= */

.facilityapply .calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 25px;
    padding: 12px 0 22px;

    border-bottom: 1px solid #ded8d1;
}

/* 년월 표시 */
.facilityapply .calendar-nav strong {
    display: block;

    color: #382f28;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -1.5px;
    white-space: nowrap;
}

/* 이전달 / 다음달 버튼 */
.facilityapply .calendar-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 105px;
    min-height: 44px;
    padding: 9px 16px;

    border: 1px solid #ded8d1;
    background: #fff;

    color: #564a40;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.facilityapply .calendar-nav a:hover {
    background: #514337;
    border-color: #514337;
    color: #fff;
    text-decoration: none;
}

.facilityapply .calendar-nav a:focus-visible {
    outline: 2px solid #96785d;
    outline-offset: 3px;
}

.facilityapply .calendar-nav span {
    min-width: 0;
}


/* =========================================
   달력 테이블
========================================= */

.facilityapply .calendar {
    width: 100%;
    margin: 0;

    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;

    border: 1px solid #ded8d1;

    background: #fff;
}


/* 요일 헤더 */
.facilityapply .calendar th {
    height: 54px;
    padding: 14px 5px;

    background: #554538;
    border: 1px solid #554538;

    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-align: center;
    vertical-align: middle;
}

/* 일요일 */
.facilityapply .calendar th:first-child {
    background: #49392f;
    color: #f2c7bb;
}

/* 토요일 */
.facilityapply .calendar th:last-child {
    color: #c9d9e9;
}


/* =========================================
   날짜 칸
========================================= */

.facilityapply .calendar td {
    position: relative;

    height: 190px;
    padding: 15px 11px;

    border: 1px solid #e6e1db;
    background: #fff;

    vertical-align: top;

    transition: background 0.2s ease;
}

/* 일반 날짜 호버 */
.facilityapply .calendar td:not(.past):not(.empty):not(.closed):hover {
    background: #fdfbf8;
}

/* 날짜 숫자 */
.facilityapply .day-number {
    display: block;

    margin-bottom: 14px;

    color: #302b27;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* 일요일 날짜 */
.facilityapply .calendar td:first-child .day-number {
    color: #b55a4c;
}

/* 토요일 날짜 */
.facilityapply .calendar td:last-child .day-number {
    color: #59758d;
}


/* =========================================
   빈 날짜
========================================= */

.facilityapply .calendar td.empty {
    background: #f8f7f5;
}


/* =========================================
   지난 날짜
========================================= */

.facilityapply .calendar td.past {
    background: #f8f8f7;
}

.facilityapply .calendar td.past .day-number {
    color: #b7b3ae;
}

.facilityapply .calendar td.past .slot {
    color: #c0bcb7;
    background: transparent;
    border-color: #e9e6e2;
}


/* =========================================
   예약 시간 공통
========================================= */

.facilityapply .slot {
    display: block;

    width: 100%;
    margin: 5px 0;
    padding: 9px 6px;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.3px;

    white-space: nowrap;
    text-align: center;
    text-decoration: none;

    border: 1px solid transparent;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


/* =========================================
   예약 가능 시간
========================================= */

.facilityapply .slot.available {
    background: #f3efe9;
    border: 1px solid #e8ddd0;

    color: #584536;
    font-weight: 600;

    cursor: pointer;
}

.facilityapply .slot.available:hover {
    background: #62503f;
    border-color: #62503f;

    color: #fff;
    text-decoration: none;
}

.facilityapply .slot.available:focus-visible {
    outline: 2px solid #96785d;
    outline-offset: 2px;
}


/* =========================================
   예약 불가 시간
========================================= */

.facilityapply .slot.unavailable {
    background: #f7f7f6;
    border: 1px solid #f0eeeb;

    color: #b2aea9;
    font-weight: 400;
}


/* 예약 상태 앞 원형 표시 */
.facilityapply .slot.available::before,
.facilityapply .slot.unavailable::before {
    content: "";

    display: inline-block;

    width: 7px;
    height: 7px;

    margin-right: 6px;

    border: 1px solid currentColor;
    border-radius: 50%;

    vertical-align: 2px;
}

.facilityapply .slot.available::before {
    background: #96785d;
    border-color: #96785d;
}

.facilityapply .slot.available:hover::before {
    background: #fff;
    border-color: #fff;
}

.facilityapply .slot.unavailable::before {
    background: #c4c0bb;
    border-color: #c4c0bb;
}


/* =========================================
   휴관 / 예약 마감
========================================= */

.facilityapply .calendar td.closed {
    background: #f8f7f5;
}

.facilityapply .closed-note {
    position: absolute;
    top: 50%;
    left: 50%;

    width: max-content;
    max-width: 90%;

    padding: 8px 14px;

    background: #eeece9;

    color: #9b948c;
    font-size: 15px;
    font-weight: 500;
    text-align: center;

    transform: translate(-50%, -50%);
}


/* =========================================
   하단 예약 상태 안내
========================================= */

.facilityapply .legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 22px;

    margin-top: 20px;

    color: #6d645b;
    font-size: 15px;
    font-weight: 500;
    text-align: right;
	margin-bottom: 30px;
}

.facilityapply .legend span {
    margin-left: 0;
}

.facilityapply .legend-available {
    color: #66503d;
}

.facilityapply .legend-unavailable {
    color: #aaa49e;
}


/* =========================================
   모바일 디자인
========================================= */

@media (max-width: 700px) {

    /* 전체 */
    .facilityapply {
        padding: 0 12px;
        font-size: 15px;
    }

    /* 안내 문구 */
    .facilityapply .notice {
        margin: 10px 0 24px;
        padding: 14px 15px;

        font-size: 14px;
        line-height: 1.7;
    }

    /* 상단 년월 */
    .facilityapply .calendar-nav {
        gap: 6px;

        margin-bottom: 20px;
        padding-bottom: 18px;
    }

    .facilityapply .calendar-nav strong {
        font-size: 25px;
        letter-spacing: -1px;
    }

    /* 이전 / 다음 버튼 */
    .facilityapply .calendar-nav a {
        min-width: 0;
        min-height: 40px;

        padding: 8px 11px;

        font-size: 13px;
        white-space: nowrap;
    }

    .facilityapply .calendar-nav span {
        min-width: 0;
    }


    /* 달력 목록 형태 */
    .facilityapply .calendar,
    .facilityapply .calendar tbody,
    .facilityapply .calendar tr {
        display: block;
        width: 100%;

        border: 0;
        background: transparent;
    }

    /* 요일 헤더와 빈 날짜 숨김 */
    .facilityapply .calendar thead,
    .facilityapply .calendar td.empty {
        display: none;
    }


    /* 날짜별 카드 */
    .facilityapply .calendar td {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px 10px;

        width: 100%;
        height: auto;
        min-height: 105px;

        margin-bottom: 12px;
        padding: 17px 15px;

        border: 1px solid #e6e0d8;
        border-left: 3px solid #9b8065;

        background: #fff;
    }

    /* 날짜 숫자 */
    .facilityapply .calendar td .day-number {
        grid-column: 1 / -1;

        margin-bottom: 8px;
        padding-bottom: 10px;

        border-bottom: 1px solid #eee9e3;

        font-size: 21px;
        font-weight: 700;
        line-height: 1.4;
    }

    /* 요일 표시 */
    .facilityapply .weekday {
        display: inline;

        margin-left: 4px;

        color: #8a8178;
        font-size: 15px;
        font-weight: 500;
    }


    /* 예약 시간 */
    .facilityapply .slot {
        display: flex;
        align-items: center;
        justify-content: center;

        min-width: 0;
        min-height: 45px;

        margin: 0;
        padding: 9px 5px;

        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;

        white-space: normal;
        overflow-wrap: anywhere;
    }

    .facilityapply .slot.available {
        border: 1px solid #e5d8c9;
        border-radius: 0;

        background: #f3efe9;

        color: #584536;
        font-weight: 600;
        text-align: center;
    }

    .facilityapply .slot.unavailable {
        border: 1px solid #efedeb;

        background: #f8f8f7;

        text-align: center;
    }


    /* 지난 날짜 */
    .facilityapply .calendar td.past {
        background: #f8f8f7;
        border-left-color: #d7d3cf;
    }

    .facilityapply .calendar td.past .slot {
        display: none;
    }

    .facilityapply .calendar td.past .past-note {
        display: block;
        grid-column: 1 / -1;

        padding: 3px 0;

        color: #aaa49e;
        font-size: 14px;
    }


    /* 휴관 및 마감 */
    .facilityapply .calendar td.closed {
        min-height: 105px;

        border-left-color: #d7d3cf;
        background: #f8f7f5;
    }

    .facilityapply .closed-note {
        padding: 7px 12px;

        font-size: 14px;
    }


    /* 하단 안내 */
    .facilityapply .legend {
        gap: 8px 16px;

        margin-top: 15px;

        font-size: 13px;
        line-height: 1.6;
    }

}


/* =========================================
   작은 모바일 화면
========================================= */

@media (max-width: 380px) {

    .facilityapply .calendar-nav strong {
        font-size: 22px;
    }

    .facilityapply .calendar-nav a {
        padding: 7px 8px;
        font-size: 12px;
    }

    .facilityapply .calendar td {
        gap: 7px;
        padding: 14px 11px;
    }

    .facilityapply .slot {
        font-size: 13px;
        padding: 8px 3px;
    }

}


/* =========================================
   예약 시간 박스 넘침 방지
========================================= */

/* 날짜 칸 내부 넘침 방지 */
.facilityapply .calendar td {
    min-width: 0;
}

/* 시간 박스 */
.facilityapply .slot {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    box-sizing: border-box;
    text-align: center;
}

/* 모바일에서도 동일하게 적용 */
@media (max-width: 700px) {

    .facilityapply .calendar td {
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .facilityapply .slot {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;

        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;

        box-sizing: border-box;
        text-align: center;
    }

}