@charset "UTF-8";

/* 전역 로딩 스피너 */
#spinner {
    display: none;                 /* 기본 숨김 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* 반투명 배경 */
    background-color: rgba(255, 255, 255, 0.6);

    /* SVG 로딩 아이콘 */
    background-image: url('/images/Loading_spin.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 48px 48px;    /* 필요시 조절 */

    z-index: 9999;                 /* 최상단 */
}

.course-table .no-data {
    font-size: 17px;
    color: #777;
    text-align: center;
    padding: 25px 0;
    font-weight: 400;
}

/* .no-data-full {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 120px;      높이 상황에 따라 조절
    background: #fff;
} */

/* MsgUtil alert, confirm swal z-index 변경 */
.swal-container-override {
    z-index: 10050 !important;
}
/* 팝업 박스 자체 오버라이드 */
.swal-override-z {
    z-index: 10051 !important;
}


/* 예약버튼 선택못함 */
.btn-select.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* 인트로 화면 */
.category-item {
    position: relative;
}
.category-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.btn-wrap {
    position: relative;
    z-index: 2;
}

/* 인트로화면 긴급공지팝업 이미지 */
.popup-img-wrap {
    margin-top: 10px;
    text-align: center;
}
.popup-img {
    max-width: 100%;      /* 팝업 너비에 맞게 자동 축소 */
    height: auto;
    margin: 10px 0;
    border-radius: 6px;
}




/* 게시판 이미지 정렬 (big size) */
.contentsBox img {
    max-width: 100%;
    height: auto;
    display: block;       /* 이미지 아래 여백 제거 */
    margin: 20px auto;    /* 가운데 정렬 (선택) */
    /* max-height: 700px; */
    object-fit: contain;
}

/* intro footer 숨김*/
.main.intro footer {
    display: none;
}



/* ===============================
   모바일 Bottom Sheet - 버튼 하단 고정
=============================== */

.reservation-day-contact-course.mo .sheet-anim {
    overflow: hidden;
}

.reservation-day-contact-course.mo .course-box {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.reservation-day-contact-course.mo .course-table {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(85vh - 220px);
}

.reservation-day-contact-course.mo .contact-btn {
    flex-shrink: 0;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
}

.reservation-day-contact-course.mo .contact-btn {
    padding-bottom: calc(env(safe-area-inset-bottom) + 10px);
    margin-bottom: 10px;
}

.course-table.mo-lot {
    padding-bottom: calc(env(safe-area-inset-bottom));
}

.course-table.mo-lot .no-data {
    color: #666;
    text-align: center;
    padding: 40px 0;
    font-size: 14px;
}

@media screen and (max-width: 1024px) {
    .course-table tbody td:last-child {
        display: none;
    }
    
    .course-table tbody td.no-data {
        display: table-cell;
    }
}

.course-table.mo-lot table {
    width: 100%;
    table-layout: fixed;
}

.course-table.mo-lot th {
    width: 25% !important;
}

.reservation.lot .course-table tbody td {
    vertical-align: middle;
    padding: 12px 8px;
}




.reservation.lot .course-table tbody td:first-child {
    padding: 0;
}

.reservation.lot .course-table tbody td:first-child .border-radius {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 56px;
    padding: 12px;
    line-height: 1.4;
}


@media screen and (min-width: 1025px) {
    .mo {
        display: none !important;
    }
}