@charset "utf-8";

/* ===================================================
   추가/변경 CSS - addCss.css
   기존 CSS 파일을 직접 수정하지 않고 오버라이드
   =================================================== */

/* inner1 하단 여백 */
.inner1 {
    margin: 0 auto 4rem auto;
}

/* 서브 타이틀 */
#subTit {
    padding: 2.5rem 0rem 4rem 0rem;
}

/* 서브페이지 본문 */
#subBody {
    padding: 6rem 0rem;
    background-color: #f0f0f0;
}


/* ===================================================
   프로그램 안내 페이지 CSS
   =================================================== */

/* 프로그램 카드 공통 */
.progCard {
    background: #fff;
    border-radius: 1.6rem;
    box-shadow: 0 0.4rem 2.4rem rgba(45, 106, 79, 0.08);
    margin-bottom: 4rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.progCard:last-child {
    margin-bottom: 0;
}
.progCard:hover {
    box-shadow: 0 0.8rem 3.2rem rgba(45, 106, 79, 0.14);
}

/* 카드 헤더 */
.progCard-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem 3.5rem;
    background: #eef5f0;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
}
.progCard-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 50%;
    background: #2d6a4f;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 0.2rem 0.8rem rgba(45, 106, 79, 0.3);
    flex-shrink: 0;
}
.progCard-titleArea {
    flex: 1;
}
.progCard-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1b4332;
    margin: 0 0 0.6rem 0;
    line-height: 130%;
}
.progCard-desc {
    font-size: 1.5rem;
    color: #557;
    line-height: 160%;
    margin: 0;
}

/* 카드 바디 */
.progCard-body {
    display: flex;
    gap: 3rem;
    padding: 3rem 3.5rem;
}
.progCard-info {
    flex: 1;
}
.progCard-gallery {
    display: flex;
    gap: 1.2rem;
    flex-shrink: 0;
}
.progCard-img {
    width: 28rem;
    height: 22rem;
    border-radius: 1rem;
    overflow: hidden;
}
.progCard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.progCard-img:hover img {
    transform: scale(1.05);
}

/* 뱃지 */
.progCard-badge {
    display: inline-block;
    padding: 0.5rem 1.4rem;
    background: #e8f5e9;
    color: #1b4332;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 2rem;
    margin: 0 0 1.6rem 0;
}

/* 테이블 */
.progCard-table {
    width: 100%;
    border-collapse: collapse;
}
.progCard-table th,
.progCard-table td {
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
    line-height: 160%;
    vertical-align: top;
    border-bottom: none;
}
.progCard-table tr:last-child th,
.progCard-table tr:last-child td {
    border-bottom: none;
}
.progCard-table th {
    color: #2d6a4f;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    padding-left: 0;
}
.progCard-table td {
    color: #444;
}
.progCard-table td em {
    color: #e57373;
    font-style: normal;
    font-size: 1.3rem;
}

/* ===================================================
   프로그램 안내 반응형
   =================================================== */
@media (max-width: 1199px) {
    .progCard-body {
        flex-direction: column;
    }
    .progCard-gallery {
        justify-content: center;
    }
    .progCard-img {
        width: calc(50% - 0.6rem);
        height: 24rem;
    }
}

@media (max-width: 767px) {
    .progCard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        padding: 2.5rem 2rem;
    }
    .progCard-num {
        width: 4.4rem;
        height: 4.4rem;
        font-size: 1.8rem;
    }
    .progCard-title {
        font-size: 2rem;
    }
    .progCard-desc {
        font-size: 1.4rem;
    }
    .progCard-body {
        padding: 2rem;
        gap: 2rem;
    }
    .progCard-table th,
    .progCard-table td {
        font-size: 1.4rem;
        padding: 0.8rem 0.6rem;
    }
    .progCard-table th {
        padding-left: 0;
    }
    .progCard-gallery {
        flex-direction: column;
    }
    .progCard-img {
        width: 100%;
        height: 22rem;
    }
}

@media (max-width: 480px) {
    .progCard {
        border-radius: 1.2rem;
        margin-bottom: 2.5rem;
    }
    .progCard-header {
        padding: 2rem 1.5rem;
    }
    .progCard-body {
        padding: 1.5rem;
    }
    .progCard-table colgroup col:first-child {
        width: 90px !important;
    }
    .progCard-table th,
    .progCard-table td {
        font-size: 1.3rem;
        padding: 0.7rem 0.4rem;
    }
    .progCard-img {
        height: 18rem;
    }
}


/* ===================================================
   오시는 길 페이지 CSS
   =================================================== */

/* 소개 문구 */
.locationIntro {
    text-align: center;
    margin-bottom: 3.5rem;
}
.locationIntro p {
    font-size: 1.8rem;
    color: #1b4332;
    font-weight: 500;
    line-height: 170%;
    margin: 0;
}

/* 지도 카드 */
.locationCard {
    background: #fff;
    border-radius: 1.6rem;
    box-shadow: 0 0.4rem 2.4rem rgba(45, 106, 79, 0.08);
    overflow: hidden;
    margin-bottom: 3rem;
}
.locationMap {
    width: 100%;
    height: 45rem;
    line-height: 0;
}

/* 위치 정보 */
.locationInfo {
    display: flex;
    gap: 2rem;
}
.locationInfoItem {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 2.5rem 3rem;
    background: #fff;
    border-radius: 1.6rem;
    box-shadow: 0 0.4rem 2.4rem rgba(45, 106, 79, 0.08);
    transition: box-shadow 0.3s ease;
}
.locationInfoItem:hover {
    box-shadow: 0 0.8rem 3.2rem rgba(45, 106, 79, 0.14);
}
.locationInfoItem > .material-symbols-outlined {
    font-size: 3.2rem;
    color: #2d6a4f;
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.locationInfoItem strong {
    display: block;
    font-size: 1.5rem;
    color: #2d6a4f;
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.locationInfoItem p {
    font-size: 1.6rem;
    color: #444;
    margin: 0;
    line-height: 160%;
}

/* 오시는 길 반응형 */
@media (max-width: 767px) {
    .locationIntro p {
        font-size: 1.6rem;
    }
    .locationMap {
        height: 35rem;
    }
    .locationInfo {
        flex-direction: column;
    }
    .locationInfoItem {
        padding: 2rem 2.5rem;
    }
}

@media (max-width: 480px) {
    .locationIntro p {
        font-size: 1.5rem;
    }
    .locationMap {
        height: 28rem;
    }
    .locationCard {
        border-radius: 1.2rem;
    }
    .locationInfoItem {
        padding: 1.5rem 2rem;
        border-radius: 1.2rem;
    }
    .locationInfoItem > .material-symbols-outlined {
        font-size: 2.6rem;
    }
    .locationInfoItem strong {
        font-size: 1.4rem;
    }
    .locationInfoItem p {
        font-size: 1.4rem;
    }
}


/* ===================================================
   수강신청 페이지 - 버튼 CSS
   =================================================== */

/* 예비자 안내 */
.wait-notice {
    margin: 10px 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 700;
    background: #e8f5e9;
    color: #1b4332;
    border: 1px solid #d4edda;
}

/* 신청 버튼 */
.ui.button.btn-apply-normal {
    width: 10.9rem;
    background: #2d6a4f;
    border-color: #2d6a4f;
    color: #fff;
}
.ui.button.btn-apply-normal:hover {
    background: #1b4332;
    border-color: #1b4332;
}
.ui.button.btn-apply-wait {
    width: 10.9rem;
    background: #40916c;
    border-color: #40916c;
    color: #fff;
}
.ui.button.btn-apply-wait:hover {
    background: #2d6a4f;
    border-color: #2d6a4f;
}
.ui.button.btn-view {
    width: 10.9rem;
    background: #fff;
    border: 1px solid #2d6a4f;
    color: #2d6a4f;
}
.ui.button.btn-view:hover {
    background: #e8f5e9;
}
.ui.button.btn-closed {
    width: 10.9rem;
    background: #D1D5DB;
    border-color: #D1D5DB;
    color: #6B7280;
    cursor: not-allowed;
}

/* 수강신청 카드 */
.subCon > .card {
    padding: 3rem 0;
}
.card h4.tit {
    font-size: 2.6rem;
    font-weight: 700;
    color: #3a3a3a;
    margin: 0 0 1.2rem 0;
    padding-bottom: 2rem;
    border-bottom: none;
    line-height: 1.3;
}
.card > p {
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* 선택한 과목 섹션 제목 */
.detail-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #3a3a3a;
    margin: 4rem 0 1.2rem 0;
}

/* 상세 설명 박스 */
.detail-desc {
    padding: 2.5rem;
    font-size: 1.5rem;
    line-height: 1.8;
}

/* 통계 pill */
.stats {
    margin-top: 2rem;
    margin-bottom: 2rem;
    gap: 1rem;
}
.stat-pill {
    padding: 1rem 1.8rem;
    font-size: 1.5rem;
}

/* 폼 그리드 */
.form-grid {
    gap: 2.5rem;
    margin-top: 2.5rem;
}

/* 폼 필드 */
.form-field {
    font-size: 1.6rem;
    gap: 0.6rem;
}
.form-field label {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea,
.form-field select {
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
    border-radius: 0.6rem;
}
.form-field small {
    font-size: 1.3rem;
    margin-top: 0.4rem;
}

/* 참가비 표시 */
.payMoney {
    margin: 1.5rem 0 4rem 0;
    font-size: 2rem;
}

/* 수강신청 카드 반응형 */
@media (max-width: 1023px) {
    .subCon > .card {
        padding: 2rem 0;
    }
    .card h4.tit {
        font-size: 2.2rem;
        padding-bottom: 1.5rem;
    }
    .card > p {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .detail-section-title {
        font-size: 1.8rem;
    }
    .form-grid {
        gap: 2rem;
    }
}
@media (max-width: 767px) {
    .subCon > .card {
        padding: 1.4rem 0;
    }
    .card h4.tit {
        font-size: 1.8rem;
        padding-bottom: 1.2rem;
    }
    .card > p {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    .detail-section-title {
        font-size: 1.6rem;
    }
    .form-field label {
        font-size: 1.4rem;
    }
    .form-field input,
    .form-field textarea,
    .form-field select {
        padding: 0.8rem 1rem;
        font-size: 1.4rem;
    }
}

/* 수강신청 전체 감싸기 카드 */
.contentCard {
    background: #fff;
    border-radius: 1.6rem;
    padding: 4rem;
    box-shadow: 0 0.4rem 2.4rem rgba(45, 106, 79, 0.08);
}

@media (max-width: 1023px) {
    .contentCard {
        padding: 3rem 2.5rem;
    }
}
@media (max-width: 767px) {
    .contentCard {
        padding: 2rem 1.5rem;
        border-radius: 1.2rem;
    }
}

/* 하단 네비 / 참여자 목록 여유 패딩 */
.bottom-nav {
    padding: 0 2.5rem;
}
.bottom-nav-inner {
    padding: 2rem 2.5rem;
}
#participantList > div {
    padding: 2rem 2.5rem !important;
    margin-top: 1.2rem;
}

@media (max-width: 767px) {
    .bottom-nav-inner {
        padding: 1.5rem 1.5rem;
    }
    #participantList > div {
        padding: 1.5rem !important;
    }
}

/* 라디오 버튼 색상 및 크기 */
.k-radio:checked,
.k-radio.k-checked {
    border-color: #2d6a4f;
    color: #fff;
    background-color: #2d6a4f;
}
.k-radio:checked::before,
.k-radio.k-checked::before {
    background-color: #fff;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    transform: translate(-0.9rem, -0.8rem) scale(1);
}

/* 체크박스 색상 및 위치 */
.k-checkbox:checked,
.k-checkbox.k-checked {
    border-color: #2d6a4f;
    color: #fff;
    background-color: #2d6a4f;
}
.k-checkbox:checked::before,
.k-checkbox.k-checked::before {
    color: #fff;
    transform: translate(-0.9rem, -0.9rem) scale(1);
}
.fieldList li .con .k-checkbox:checked {
    border-color: #2d6a4f !important;
    color: #fff;
    background-color: #2d6a4f !important;
}
.fieldList li .con .k-checkbox:checked::before {
    color: #fff;
    transform: translate(0%, 0%) scale(1);
}

/* 검색하기 버튼 갈색 계통 */
#bbsInput .ui.teal.big.button {
    background-color: #8d6e63;
    color: #fff;
}
#bbsInput .ui.teal.big.button:hover {
    background-color: #795548;
}

/* 온천건강프로그램 모집완료 항목 숨김 */
#lectureWrap .lectureList .item.done {
    display: none !important;
}

/* ===================================================
   가독성 개선 - 젊고 세련된 톤
   =================================================== */

/* 본문 기본 - 부드러운 차콜 */
body {
    color: #4a4a4a;
    font-size: 1.5rem;
    letter-spacing: -0.01rem;
}

/* 서브 타이틀 */
#subTit h1 {
    font-size: 3.2rem;
    color: #2d6a4f;
    font-weight: 700;
    letter-spacing: -0.08rem;
}

/* 메인 카드 과목명 */
#lectureWrap .lectureList .item .tit {
    font-size: 2rem;
    color: #2c3e50;
    line-height: 1.45;
}
#lectureWrap .lectureList .item .itemHead .label {
    font-size: 1.25rem;
    color: #40916c;
    font-weight: 600;
    letter-spacing: 0.04rem;
}
#lectureWrap .lectureList .item .fee {
    font-size: 1.45rem;
    color: #7f8c8d;
}
#lectureWrap .lectureList .item .fee b {
    color: #2d6a4f;
    font-weight: 700;
}

/* 카드 항목 라벨/값 */
#lectureWrap .lectureList .item .itemCon li {
    font-size: 1.45rem;
    line-height: 2.5rem;
    color: #7f8c8d;
}
#lectureWrap .lectureList .item .itemCon li b {
    font-size: 1.35rem;
    color: #95a5a6;
    font-weight: 600;
}
#lectureWrap .lectureList .item .itemCon li span {
    color: #4a4a4a;
    font-weight: 600;
}
#lectureWrap .lectureList .item .itemCon li em {
    font-weight: 700;
}

/* 접수/잔여 - 포인트 컬러 */
.blueTxt {
    color: #2d6a4f !important;
}
.redTxt {
    color: #e74c3c !important;
}

/* 교육/모집기간 */
#lectureWrap .lectureList .item .itemCon li.dateGroup .dateRow .label {
    color: #40916c;
    font-size: 1.25rem;
    font-weight: 600;
}
#lectureWrap .lectureList .item .itemCon li.dateGroup .dateRow .dateVal {
    font-size: 1.45rem;
    color: #4a4a4a;
    font-weight: 600;
}

/* 신청하기 버튼 */
#lectureWrap .lectureList .item .itemBtn a {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02rem;
    border-radius: 0.8rem;
}

/* 상태 뱃지 */
#lectureWrap .lectureList .item .state {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04rem;
}

/* 프로그램 안내 */
.progCard-table th {
    font-size: 1.5rem;
    color: #2d6a4f;
}
.progCard-table td {
    font-size: 1.5rem;
    color: #4a4a4a;
    line-height: 1.7;
}
.progCard-desc {
    font-size: 1.5rem;
    color: #7f8c8d;
}

/* 이용안내 주의사항 */
.cautionList p {
    font-size: 1.55rem;
    color: #4a4a4a;
    line-height: 1.8;
}

/* 오시는 길 */
.locationInfoItem strong {
    font-size: 1.5rem;
    color: #2d6a4f;
}
.locationInfoItem p {
    font-size: 1.55rem;
    color: #4a4a4a;
}

/* 수강신청 2단계 제목 */
.card h4.tit {
    color: #2c3e50;
}
.card > p {
    color: #7f8c8d;
}

/* 수강신청 상세 설명 */
.detail-desc {
    font-size: 1.5rem;
    color: #5a6a72;
    line-height: 1.9;
}
.detail-section-title {
    color: #2c3e50;
}

/* 수강신청 폼 */
.form-field label {
    font-size: 1.5rem;
    color: #4a4a4a;
}
.form-field input,
.form-field textarea,
.form-field select {
    font-size: 1.5rem;
    color: #4a4a4a;
}

/* stat-pill */
.stat-pill {
    font-size: 1.4rem;
    color: #5a6a72;
}
.stat-pill strong {
    color: #2d6a4f;
}

/* 퀵메뉴 */
.quickItem strong {
    font-size: 1.8rem;
    color: #2c3e50;
}
.quickItem span {
    font-size: 1.4rem;
    color: #95a5a6;
    line-height: 1.6;
}

/* 푸터 */
footer .copySpan {
    font-size: 1.4rem;
    color: #95a5a6;
    line-height: 1.8;
}

/* topBtn 위치 조정 (bottom-nav와 겹침 방지) */
#topBtn {
    bottom: 7rem;
}
