.sub-top-tit{
   
    padding: 20px;
    border-bottom: 1px solid var(--line);
}

.sub-top-tit .inner{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
}

.sub-top-tit .tit{
    text-align: center;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sub-top-tit .rbox{
    display: flex;
    gap: 0 20px;
}

#sub{
    max-width: 800px;
    width: 100%;
    margin: 100px auto;
}


/* 검색 페이지 */
.searchPage{
    width: 900px;
    font-size: 16px;
}

.searchPage .searchTop{
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.searchPage .searchTop input{
    flex: 1;
    border: none;
}

.searchPage .searchTop .searchBtn:focus{
    outline: none;
}

.searchPage .recentSearch p{
    color: var(--gray9);
    text-decoration: underline;
    font-size: 16px;
}

.searchPage .recentSearch ul{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.searchPage .recentSearch ul li{
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    padding: 7px 20px;
    border-radius: 50px;
    gap: 0 10px;
}

.searchPage .recentSearch ul li .del{
    cursor: pointer;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background-color: #7c7c7c;
    color: #fff;
    text-align: center;
    background-image: url("../images/common/ico_close_w.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
    line-height: 20px;
}

.rankList-wrap .rankList{
    border-top: 1px solid var(--line);
    margin-top: 20px;
}

.rankList-wrap .rankList li{
    border-bottom: 1px solid var(--line);
}

.rankList-wrap .rankList li a{
    display: flex;
    gap: 0 10px;
    padding: 10px;
}

.rankList-wrap .rankList li a .num{
    font-weight: 600;
}

.rankList-wrap .rankList li a:hover{
    background-color: #f3f3f3;
    transition: 0.2s;
}


.loginPage,
.joinPage,
.myinfoPage{
    max-width: 600px;
    width: 100%;
}

.loginPage .loginBox-2 li a{
    color: var(--gray9);
}

.loginPage .loginBox-2 ul{
    display: flex;
    gap: 0 10px;
}

.loginPage .sec-2{
    position: relative;
    margin-top: 50px;
}

.loginPage .sec-2 .txt-1 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.loginPage .sec-2 .txt-1::before,
.loginPage .sec-2 .txt-1::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--line);
    margin: 0 16px;
}

.loginPage .sec-2 .txt-1::before {
    margin-right: 16px;
}

.loginPage .sec-2 .txt-1::after {
    margin-left: 16px;
}

.loginPage .sec-2  .btn-wrap{
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}

.loginPage .sec-2  .btn-wrap .btn{
    display: flex;
    align-items: center;
    justify-content: center;
}

.loginPage .sec-2  .btn-wrap .btn span{
    font-weight: 600;
    padding-left: 30px;
    background-repeat: no-repeat;
    background-position: left center;
}

.loginPage .sec-2  .btn-wrap .btn.kko{
    background-color: #FAE100;
}

.loginPage .sec-2  .btn-wrap .btn.kko span{
    background-image: url("../images/sub/kko.svg");
    background-size: 24px;
}

.loginPage .sec-2  .btn-wrap .btn.naver{
    background-color: #1FCC00;
}

.loginPage .sec-2  .btn-wrap .btn.naver span{
    background-image: url("../images/sub/naver.svg");
    background-size: 17px;
    color: #fff;
}

.loginPage .sec-2  .btn-wrap .btn.google,
.loginPage .sec-2  .btn-wrap .btn.email{
    border: 1px solid var(--line);
}

.loginPage .sec-2  .btn-wrap .btn.google span{
    background-image: url("../images/sub/google.svg");
    background-size: 17px;
}

.loginPage .sec-2 .msg{
    position: absolute;
    top: 87px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceY 2s infinite alternate;
}

@keyframes bounceY {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}


.joinPage .joinBox .box p.tit{
    margin-bottom: 10px;
}

.joinPage .joinBox .box .bd-box{
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.joinPage .joinBox .box .bd-box input{
    border: none;
    flex: 1;
}

.joinPage .joinBox .box .bd-box .btn-check{
    border: none;
    background-color: var(--black);
    color: #fff;
    padding: 3px 10px;
    border-radius: 50px;
    cursor: pointer;
}

.ntc-txt{
    color: var(--red);
    background: url("../images/sub/ntc-txt.svg") no-repeat left center;
    background-size: 15px;
    padding-left: 20px;
    margin-top: 10px;
    font-size: 14px;
}

.joinPage .joinBox .box.email .btn.rst{
    background-color: #D9D9D9;
    color: #fff;
    width: 100%;
    margin-top: 20px;
}

.joinPage .joinBox .box.email .btn.rst.on{
    background-color: var(--primary);
}

.joinPage .btn-check-eye{
    width: 17px;
    height: 17px;
    background: url("../images/sub/btn-check-eye.svg") no-repeat center center;
}

.joinPage .box.pw .bd-box.n-1{
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

.joinPage .box.pw .bd-box.n-2{
    border-radius: 0 0 10px 10px;
}

.gender-radio {
    display: inline-flex;
    margin-left: 10px;
}

.gender-radio label {
    display: inline-flex;
    align-items: center;
    padding: 0 40px;
    height: 55px;
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    color: #333;
    font-size: 15px;
    position: relative;
}

.gender-radio label:has(input[type="radio"]:checked) {
    background: var(--primary);
    color: #fff;
}

.joinPage .box.brith .bd-box{
    border:none;
}

.joinPage .box.brith .bd-box input{
    border: 1px solid var(--line);
}

.joinPage .box.brith .bd-box .gender-radio label:first-child{
    border-radius: 10px 0 0 10px;
}
.joinPage .box.brith .bd-box .gender-radio label:last-child{
    border-radius: 0 10px 10px 0;
}

.box.agree .tit span{
    transform: translateY(3px);
}

.box.agree .chk-list{
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}

.box.agree .chk-list .box:not(:last-child){
    border-bottom: 1px solid var(--line);
}

.box.agree .chk-list .box{
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.box.agree .view{
    color:var(--gray9);
    background: url("../images/sub/arr-gray.svg") right center / auto no-repeat;
    padding-right: 20px;
}

.joinPage .joinBox > .box:not(:last-child){
    margin-bottom: 40px;
}

/* 모달 팝업 스타일 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background-color: #f5f5f5;
}

.modal-close img {
    width: 20px;
    height: 20px;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.modal-body .terms-content{
    background-color: #f7f7f7;
    padding: 40px;
    border-radius: 10px;
    word-break: keep-all;
}

.terms-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

.terms-content h4:first-child {
    margin-top: 0;
}

.terms-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 8px 0;
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
}


.secessionPage{
    max-width: 800px;
    width: 100%;
}

.myinfoPage .tit{
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
}

.myinfoPage .tit a{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    border-radius: 50px;
}

/* 광고 수신 동의 스위치 */
.add-agree {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.add-agree b {
    font-weight: 500;
}

#ad-agree-switch.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: #ddd;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    outline: none;
}

#ad-agree-switch.toggle-switch.active {
    background: var(--primary);
}

#ad-agree-switch .toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#ad-agree-switch.toggle-switch.active .toggle-slider {
    transform: translateX(20px);
}

#ad-agree-switch .toggle-knob {
    display: none; /* 필요없는 요소 숨김 */
}

/* 말풍선 스타일 */
.balloon {
    position: relative;
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
    display: inline-block;
}

/* 말풍선 화살표 */
.balloon::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    display: block;
}

/* 왼쪽 화살표 */
.balloon.arrow-left::before {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-right: 6px solid #333;
    border-left: none;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* 오른쪽 화살표 */
.balloon.arrow-right::before {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #333;
    border-right: none;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* 위쪽 화살표 */
.balloon.arrow-top::before {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 6px solid #000;
    border-top: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

/* 아래쪽 화살표 */
.balloon.arrow-bottom::before {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top: 6px solid #000;
    border-bottom: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.myinfoPage .myinfo-form .box{
    display: flex;
    flex-direction: column;
    gap: 10px 0;
    padding: 20px 0;
}

.myinfoPage .myinfo-form .box input{
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--line);
}

.myinfoPage .myinfo-form.modify .box input{
    border: 1px solid var(--line);
    border-radius: 10px;
}

.myinfoPage .btn-area{
    margin-top: 30px;
}


.myPage{
    max-width: 800px;
    width: 100%;
}

.myPage.ticket .prf-wrap {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.myPage.ticket .prf-wrap .img-box{
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 70px;
    background-color: #2a9d8f;
    display: flex;
    justify-content: center;
    align-items: center;
}

.myPage.ticket .prf-wrap .img-box .mod{
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: url("../images/sub/mod.svg") no-repeat center center;
    background-color: #fff;
    border: 1px solid var(--line);
}

.myPage.ticket .prf-wrap .nkname{
    display: flex;
    align-items: center;
    margin-left: 10px;
}


.myPage.ticket .prf-wrap .nkname p{
    font-weight: 600;
    font-size: 20px;
    padding-left: 55px;
}

.myPage.ticket .prf-wrap .lbox{
    width: auto;
}

.myPage.ticket .prf-wrap .bd-btn{
    border-radius: 10px;
    padding: 2px 10px;
    border: 1px solid #333;
}

.bd-box{
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 20px;
}

.my-info-wrap .bd-box{
    display: flex;
    justify-content: space-between;
}

.my-info-wrap .bd-box i{
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url("../images/sub/arr-gray.svg") no-repeat center center;
}

.my-info-wrap .bd-box b{
    margin-right: 10px;
}

.myPage .banner{
    overflow: hidden;
    margin: 20px auto;
}

.myPage .banner img{
    width: 100%;
}

.myPage.ticket .mn-list li{
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.myPage.ticket .mn-list li a{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.myPage.ticket .mn-list li a i{
    display: block;
    width: 30px;
    height: 30px;
    background: url("../images/sub/arr-gray.svg") no-repeat center center;
}

.myPage.ticket .mykt-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.myPage.ticket .mykt-wrap .bd-box{
    flex: 1;
}

.myPage.ticket .mykt-wrap .bd-box b{
    background: url("../images/sub/tk.svg") left center / auto no-repeat;
    padding-left: 40px;
}

.myPage.ticket .mykt-wrap.empty .bd-box b{
    background: url("../images/sub/tk-off.svg") left center / auto no-repeat;
    color: var(--gray9);
    margin: 0 auto;
}

.myPage.ticket .mykt-wrap .bd-box .bd-btn{
    padding: 0 10px;
    border-radius: 10px;
}

.myPage.ticket .mykt-wrap .btn{
    background-color: #333;
    color: #fff;
    padding: 0 20px;
    border-radius: 10px;
    text-align: center;
    margin-left: 10px;
}

.tabMn{
    display: flex;
    gap: 0 20px;
    border-bottom: 1px solid var(--line);
    margin-top: 20px;
    margin-bottom: 20px;
}

.tabMn li.on{
    border-bottom: 2px solid var(--primary);
}

.tabMn li a{
    color: var(--gray9);
}

.tabMn li.on a{
    color: #333;
}

.subscription .top .bd-box{
    padding: 5px 20px;
    height: 35px;
}

.subscription .top .bd-btn{
    padding: 0 10px;
    height: 35px;
    line-height: 35px;
}

.subscription.bd-box{
    padding: 20px 40px;
}

.subscription dl{
    display: flex;
    flex-wrap: wrap;
}

.subscription dl:not(:last-child){
    margin-bottom: 10px;
}

.subscription dl dt{
    width: 100px;
    color: var(--gray9);
}

.subscription dl dd{
    flex: 1;
    word-break: break-all;
}

.tabMn-2{
    display: flex;
    gap: 0 20px;
    margin: 20px 0;
}

.tabMn-2 li a{
    color: var(--gray9);
}

.tabMn-2 li.on a{
    color: #333;
}

.myPage.cancel .box{
    padding: 20px 0;
    border-top: 1px solid var(--line);
    margin-top: 20px;
}

.myPage.cancel .btn-area{
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 20px;
}

/* 구독권 해지 모달 스타일 */
#cancelModal .modal-body .subscription-period {
    background: #f8f9fa;
    border: 1px solid var(--line);
    padding: 12px 16px;
    margin: 20px 0;
    text-align: center;
    font-weight: 500;
    color: var(--gray9);
    border-radius: 50px;
    display: inline-block;
}

.modal-footer.btn-area {
    display: flex;
    padding: 0;
}

.modal-footer .btn {
    flex: 1;
    border-radius: 0 !important;
}

.modal-footer .bdr-10{
    border-radius: 10px !important;
}

#cancelModal .modal-header h3{
    display: flex;
        flex: 1;
        justify-content: center;
}

.sbscpayment .sec-1 label{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 20px;
    margin-bottom: 10px;
}



.sbscpayment .sec-1 label:has(input[type="radio"]:checked){
    border: 1px solid var(--primary);
    background-color: #E8FFF5;  
}


#cancelModal .modal-body{
    text-align: center;
}

.bd-bottom{
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.sbscpayment .sec-3{
    margin-top: 20px;
}

.sbscpayment .sec-3 dl{
    display: flex;
    justify-content: space-between;
}

.myPage.library .search-box{
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 20px;
    margin-bottom: 20px;
}

.myPage.library .search-box input{
    border: none;
}

.myPage.library .top{

}

.myPage.library .top .bd-btn{
    padding: 5px 15px;
    border-radius: 10px;
    border-color: #333;
}

.myPage.library .top select{
    border: none;
}

.myPage.library .top select{
    height: 35px;
    line-height: 35px;
    padding-left: 10px;

}

.myPage.library .list .box{
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    background-color: #f5f5f5;
}

.myPage.library .list .box:not(:last-child){
    margin-bottom: 10px;
}

.myPage.library .list .box .img{
    width: 100px;
    margin-right: 20px;
}

.myPage.library .list .box .img img{
    width: 100%;
}

.myPage.library .list .box .tbox{
    display: flex;
    justify-content: space-between;
    width: 100%;

}

.myPage.library .list .box .tbox .rbox{
    display: flex;
    align-items: center;
}

.myPage.library .list .box .tbox .rbox span{
    background-color: var(--primary);
    color: #fff;
    border-radius: 5px;
    padding: 2px 5px;
}
.myPage.library .list .box .tbox .rbox p{
    font-size: 14px;
}

.myPage.library .list .box .tbox .rbox i{
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url("../images/sub/arr-gray.svg") no-repeat center center;
    margin-left: 20px;
}

.myPage.library .list.edit .box .tbox .rbox span{
    background-color: transparent;
}

/* 편집 모드에서 선택된 박스 스타일 */
.myPage.library .list.edit .box.on {
    border-color: var(--primary);
}

.myPage.library .list.edit .box {
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

#deleteModal .modal-content{
    max-width: 400px;
    width: 90%;
}


#sub.notice .list .item a{
    display: flex;
    gap: 0 20px;
    margin-bottom: 20px;
}

#sub.notice .list .item .img {
    position: relative;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#sub.notice .list .item .info{
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    word-break: keep-all;
    flex: 1;
}


#sub.notice .list .item .info::after {
    display: block;
    content: "";
    width: 20px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    bottom: -34px;
    left: -22px;
}

#sub.notice .list .item .img img{
    width: 100%;
}

.customer textarea{
    border-radius: 10px;
    height: 200px;
}

.file-wrap {
    margin-top: 10px;
}
.file-box {
    display: flex;
    align-items: center;
    width: 100%;
}
.file-label {
    display: flex;
    width: 100%;
}
.file-input-view {
    flex: 1;
    height: 48px;
    border: 1px solid #e9e9e9;
    border-radius: 8px 0 0 8px;
    padding: 0 16px;
    font-size: 15px;
    background: #fff;
    color: #888;
    outline: none;
    box-sizing: border-box;
}
.file-btn {
    min-width: 110px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: 10px;
}
.file-btn:hover {
    background: #222;
}

.file-wrap.n-2 ul li{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 10px;
}

.file-wrap.n-2 ul li .del{
    width: 30px;
    height: 30px;
    background: url("../images/sub/del-2.svg") no-repeat center center;
}

.accordion .accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-title {
    width: 100%;
    text-align: left;
    padding: 18px 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.accordion-title .title-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.accordion-title .status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.accordion-title .status-badge.pending {
    border: 1px solid var(--line);
}



.accordion-title .arrow {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('../images/common/arr-down.svg') no-repeat center center;
    transition: transform 0.2s;
}

.accordion-item.active .accordion-title .arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    background: #fff;
    font-size: 15px;
    color: #444;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-out;
    opacity: 0;
    background: #fafafa;
}

.accordion-item.active .accordion-content {
    max-height: 800px;
    padding: 16px;
    opacity: 1;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease-in 0.1s;
}

.accordion-content .answer {
    margin-top: 10px;
    color: #888;
    font-size: 14px;
}

.mem-type{
    padding: 5px 0 5px 40px;
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 10px;
    font-weight: 600;
}

.mem-type.mem-silver{
    background-image: url("../images/sub/mem-silver.svg");
}

.mem-type.mem-gold{
    background-image: url("../images/sub/mem-gold.svg");
}

.mem-type.mem-{
    background-image: url("../images/sub/mem-vip.svg");
}

.mem-type.mem-dia{
    background-image: url("../images/sub/mem-dia.svg");
}

.membership .sec-2 .list{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}


.membership .sec-2 .list .item{
    border: 1px solid #333;
    width: calc((100% - 20px) / 2);
    border-radius: 10px;
}

.membership .sec-2 .list .item .top{
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
}

.membership .sec-2 .list .item .bottom{
    border-top: 1px solid var(--line);
    padding: 5px 20px;
    font-size: 14px;
    word-break: keep-all;
}

.membership .sec-2 {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: 20px;
}

.email-interlock .email-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
}

.email-interlock .email-box input{
    border: none;
    padding: 0;
}

.coupon-add .inner > .top{
    position: relative;;
}

.coupon-add .inner > .top .btn {
    position: absolute;
    top: 5%;
    right: 0;
    transform: translateY(-50%);
    height: 35px;
    line-height: 35px;
    border-color: #333;
    border-radius: 5px;
}

.coupon-add .bottom .top{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.coupon-add .bottom .top select{
    border:none;
    height: 35px;
    line-height: 35px;
}

.coupon-add .list {
    margin-top: 20px;
}

.coupon-add .list .item:not(:last-child){
    margin-bottom: 20px;
}

.coupon-add .list .dday{
    background-color: #333;
    border-radius: 50px;
    color: #fff;
    padding: 2px 10px;
    font-size: 12px;
}

.coupon-add .list .bd-box{
    padding: 30px;
}

.coupon-add .list .btn{
    width: 100%;
    background-color: var(--primary);
    color: #fff;
    border-radius: 10px 10px 0 0 ;
}
.coupon-add .list .btn.off{
    background-color: #F5F5F5;
    color: #333;
    border: 1px solid var(--line);
    border-top: none;
}

.saved-money .box-2{
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
    margin: 20px 0;
}

.saved-money .box-3 .bd-box{
    padding: 20px;
    margin-bottom: 20px;
}

.saved-money .box-4 .top{
    border-bottom: 1px solid var(--line);
}

.saved-money .box-4 .top select{
    border: none;
    padding-top: 0;
    padding-bottom: 0;
}

.saved-money .box-4 .top b{
    position: relative;
}

.saved-money .box-4 .top b::after {
    display: block;
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    position: absolute;
    bottom: -16px;
}

.saved-money .box-4 .list .item{
    display: flex;
    flex-wrap:wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    margin: 10px 0;
}

.saved-money .box-4 .list .item > div{
    width: auto;
}

.saved-money .box-4 .list .item .img{
    position: relative;
    width: 60px;
    border-radius: 10px;
    margin-right: 20px;

}

.saved-money .box-4 .list .item .img::after{
    display: block;
    content: "";
    padding-bottom: 100%;
    width: 100%;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    background-image: url("../images/sub/icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
}


@media (max-width: 1024px) {

    #sub {
        margin: 50px auto;
    }

    .sub-top-tit .tit{
        justify-content: flex-start;
    }
}


@media (max-width: 640px) {

    .myPage.ticket .mykt-wrap .bd-box .bd-btn{
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }

    .balloon{
        margin-top: 10px;
        width: 100%;
    }


    .subscription.bd-box {
        padding: 20px;
    }

    .myPage.ticket .mykt-wrap{
        flex-direction: column;
        gap: 10px 0;
    }

    .myPage.ticket .mykt-wrap .bd-box,
    .myPage.ticket .mykt-wrap .btn {
        width: 100%;
    }

    .myPage.ticket .mykt-wrap .bd-box .bd-btn{
        width: auto;
        padding: 5px 10px;
    }

    .myPage.library .list.edit .box .tbox{
        flex-direction: row;

    }

    .myPage.library .list .box .tbox .rbox {
        justify-content: space-between;
    }

    .myPage.library .list .box .tbox{
        flex-direction: column;
        gap: 10px 0;
    }

    .membership .sec-2 .list .item .top {
        justify-content: center;
        text-align: center;
    }

    .joinPage .box.brith .bd-box {
        flex-direction: column;
        gap: 10px 0;
    }

    .joinPage .box.brith .bd-box input{
        width: 100%;
        margin-left: 0;
    }

    .gender-radio label{
        flex: 1;
        justify-content: center;
    }

    .gender-radio{
        width: 100%;
    }
}

@media (max-width: 380px) {
    .subscription.bd-box .top{
        flex-direction: column;
        gap: 5px 0;
    }

    .subscription .top .bd-box,
    .subscription .top .bd-btn{
        width: 100%;
        text-align: center;
    }
}

/* 개별이용권 내역 리스트 */
.individual-pass .list {
    background: #fff;
    border-top: 1px solid var(--line);
}

.individual-pass .list-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    color: var(--gray9);
}

.individual-pass .list-item {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
    align-items: center;
}


.individual-pass .list-item .date {
    font-size: 14px;
    color: var(--gray9);
    text-align: center;
}

.individual-pass .list-item .book-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.individual-pass .list-item .book-thumbnail {
    width: 40px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.individual-pass .list-item .book-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.individual-pass .list-item .book-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray9);
}

.individual-pass .list-item .amount {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    text-align: center;
}

.individual-pass .list-item .cancel {
    font-size: 14px;
    color: var(--gray5);
    text-align: center;
}

.individual-pass.history .list-header,
.individual-pass.history .list-item{
    grid-template-columns: 1fr 2fr 1fr 1fr 1fr;
}

.individual-pass.history .pay{
    text-align: center;
}

.individual-pass.history,
.individual-pass.history a{
    font-size: 16px;
}

.empty-box {
    text-align: center;
    padding: 40px;
}

.empty-box .bd-box{
    display: inline-block;
    text-align: center;
    padding: 5px 20px;
}

.myPage.comment .list{
    margin-top: 50px;
}

.myPage.comment .list .top{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.myPage.comment .list .top a{
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 5px 10px;
    background: url("../images/sub/arr-gray.svg") 90%center  / auto no-repeat;
    padding-right: 40px;
}

.myPage.comment .list .top a span{
    color: var(--primary);
}

.myPage.comment .list .top .del{
    width: 30px;
    height: 30px;
    background: url("../images/sub/del.svg") center center / auto no-repeat;
}

.myPage.comment .list .con-wrap{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.myPage.comment .list .con-wrap .rbox{
    display: flex;
    gap: 0 10px;
}

.myPage.comment .list .con-wrap .rbox p{
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 14px;
}

.myPage.comment .list .item{
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

#sub.category-list{
    max-width: 1400px;
}

.category-list .top{
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.category-list .top select{
    border: none;
}

.category-list .list{
    display: flex;
    flex-wrap: wrap;
    gap: 40px 20px;
}

.category-list .list .item{
    width: calc((100% - 100px) / 5);
}

.category-list .list .item .img{
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.category-list .list .item .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-list .list .item .info > div {
    gap: 0 20px;
    flex-wrap: wrap;
    font-size: 14px;
}

.category-list .list .item .info > div span{
    margin-right: 5px;
}


.category-list .list .item .info > div p.gap-line::after{
    right: -10px;
}

/* 페이지네이션 스타일 */
.page-area {
    margin: 40px 0;
    padding: 20px;
    background: #fff;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination li button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 8px;
}

.pagination li:not(.active) button:hover {
    color: var(--primary);
}

.pagination li.active button {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
}

.pagination li.arrow button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #666;
    font-size: 16px;
    font-weight: 600;
}

.pagination li.arrow button:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

#sub.notice-page{
    max-width: 1140px;
}

#sub.notice-page-detail{
    margin: 50px auto;
}

.notice-page-detail .contents{
    padding: 20px 0 40px 0;
}

.notice-page-detail .btn-area{
    display: flex;
    justify-content: flex-end;
}

.notice-page-detail .bd-btn{
    height: 35px;
    line-height: 35px;
    padding: 0 20px;
    margin-left: auto;
}

/* 공지사항 상세 페이지 스타일 */
.notice-detail-header {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.notice-info {
    text-align: center;
}

.notice-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.notice-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--gray9);
    font-size: 14px;
}

.notice-content {
    margin-bottom: 40px;
}

.content-body {
    line-height: 1.8;
    color: #333;
}

.content-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px 0;
}

.content-body h3:first-child {
    margin-top: 0;
}

.content-body p {
    margin-bottom: 15px;
}

.notice-attachments {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.notice-attachments h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.notice-attachments ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-attachments li {
    margin-bottom: 10px;
}

.attachment-link {
    font-weight: 500;
}

.attachment-link:hover {
    text-decoration: underline;
}

.notice-navigation {
    border-top: 1px solid var(--line);
    padding: 20px 0;
    margin-bottom: 30px;
}

.nav-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
}


.nav-link {
    display: block;
    text-decoration: none;
    color: #333;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-label {
    display: block;
    font-size: 14px;
    color: var(--gray9);
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-weight: 500;
    font-size: 16px;
}

.notice-actions {
    text-align: center;
}

.category-list .search-box{
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 20px;
    margin-bottom: 20px;
}

.category-list .search-box input{
    border: none;
    padding: 0;
}

.category-list .search-box  > div{
    width: auto;
    gap: 0 10px;
}

.category-list .search-result{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.category-list .search-result .del{
    color: var(--gray9);
    text-decoration: underline;
}

.category-list .search-box .del{
    width: 25px;
    height: 25px;
    border-radius: 25px;;
    background: url("../images/sub/del-2.svg") center center / 15px no-repeat;
    background-color: #f0f0f0;
}

.category-list .search-box .searchBtn{
    width: 20px;
    height: 20px;
    background: url("../images/common/ico_sch.svg") center center / contain no-repeat;
}

    

#sub.book-detail{
    max-width: 1140px;
    width: 100%;
}

.book-detail .badge{
    background-color: var(--primary);
    color: #fff;
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 14px;
}

.book-detail .sec-1 .box-1 > .flexBox{
    align-items: flex-start;
}

.book-detail .sec-1 .img{
    width: 200px;
    margin-right: 50px;
}

.book-detail .sec-1 .img img{
    width: 100%;
}

.book-detail .sec-1 .heart{
    margin-left: 10px;
    display: inline-block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("../images/main/heart-off.svg");
}

.book-detail .sec-1 .heart.on{
    background-image: url("../images/main/heart-on.svg");
}

.book-detail .sec-1 .tag{
    display: flex;
    gap: 5px;
    margin-top: 20px;
}

.book-detail .sec-1 .tag li{
    border: 1px solid #333;
    padding: 4px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
}

.book-detail .sec-1 .box-2{
    margin-top: 50px;
}

.book-detail .sec-1 .box-2 .bd-box{
    padding: 20px 0 0 0;
}

.book-detail .sec-1 .box-2 .bd-box .in{
    padding: 0 20px 20px 20px;
}

.book-detail .sec-1 .box-2 .bd-box p{
    line-height: 1.6;
    color: #666;
}

.book-detail .sec-1 .box-2 .bd-box p.collapsed{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-detail .sec-1 .box-2 .bd-box button{
    width: 100%;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 0;
    margin-top: 10px;
    transition: all 0.2s ease;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.book-detail .sec-1 .box-2 .bd-box button:hover{
    color: #2a9d8f;
    text-decoration: underline;
}

.book-detail .sec-1 .box-2 .bd-box button .arrow-icon{
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.book-detail .sec-1 .box-2 .bd-box button.expanded .arrow-icon{
    transform: rotate(180deg);
}

.book-detail .toggle-text-btni{
    width: 20px;
    height: 20px;
    background: url("../images/common/arr-down.svg") no-repeat center center;
}


.book-detail .sec-2 {
    margin-top: 20px;
    margin-bottom: 50px;
}

.book-detail .sec-2 .top{
    margin-bottom: 20px;
}

.book-detail .sec-2 .top select{
    border: none;
    height: 35px;
    line-height: 35px;
}

.book-detail .sec-2 .list .item{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;

    border: 1px solid var(--line);
    border-radius: 10px;
    padding-right: 20px;
    background-color: #F8F8F8;
}

.book-detail .sec-2 .list .item:not(:last-child){
    margin-bottom: 20px;
}

.book-detail .sec-2 .list .item .img{
    width: 100px;
    height: 100%;
}

.book-detail .sec-2 .list .item .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-detail .sec-2 .list .item  .badge{
    margin-left: auto;
}

.book-detail .sec-2 .list .item.on{
    border: 1px solid var(--primary);
    background-color: #E8FFF5;
}

.cmt-wrap .search-box{
    margin-top: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 0 10px;
}
.cmt-wrap .search-box input{
    border: none;
    padding: 0;
    flex: 1;
}
.cmt-wrap .search-box button{
    width: 20px;
    height: 20px;
    background: url("../images/sub/send.svg") center center / contain no-repeat;
}

.cmt-wrap .list .item{
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
}

.cmt-wrap .list .item:not(:last-child){
    margin-bottom: 20px;
}

.cmt-wrap .list .top{
    position: relative;
    margin-bottom: 20px;
    gap: 0 20px;
}

.cmt-wrap .list .top .btn-area{
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.cmt-wrap .list .top .btn-area button{
    font-size: 14px;
    border-radius: 5px;
    padding: 2px 15px;
}

.cmt-wrap .list .top .btn-area button.n-1{
    border-radius: 5px 5px 0 0;
}

.cmt-wrap .list .top .btn-area button.n-2{
    border-radius: 0 0 5px 5px;
}

.cmt-wrap .list .top .mn{
    width: 4px;
    height: 12px;
    background: url("../images/sub/rp-btn.svg") center / contain no-repeat;
    margin-top: 5px;
    display: flex;
    justify-self: right;
}

.cmt-wrap .bottom .rp-btn{
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14px;
}

.cmt-wrap .bottom .rp-btn.on{
    border: 1px solid var(--primary);
    background-color: #E8FFF5;
}

.like-btn{
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.like-btn span{
    background: url("../images/sub/like-btn-off.svg") left center / 18px no-repeat;
    padding-left: 20px;
}

.like-btn.on span{
    background: url("../images/sub/like-btn-on.svg") left center / 18px no-repeat;
}

.like-btn.un span{
    background: url("../images/sub/unlike-btn-off.svg") left center / 18px no-repeat;
    padding-left: 20px;
}

.like-btn.on.un span{
    background: url("../images/sub/unlike-btn-on.svg") left center / 18px no-repeat;
}

.cmt-wrap .more-rp{
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.cmt-wrap .more-rp a{
    background: url("../images/sub/arr-right-gray.svg") right center / auto no-repeat;
    padding-right: 20px;
}

.rcm-wrap {
    position: relative;
    width: 1140px;
    margin: 20px auto 0 auto;
    padding-left: 3.750rem;
    padding-right: 3.750rem;
}

.rcm-wrap .info{
    flex-wrap: wrap;
    gap: 2px 10px;
    font-size: 14px;
}

.rcm-wrap .info span{
    margin-right: 5px;
}

.rcm-wrap .ctr-btn-area{
    width: 100%;
    height: 100%;
}

.cmt-wrap .rp-box{
    border: 1px solid var(--line);
    margin-top: 20px;
    border-radius: 5px;
    padding: 20px;
}


.cmt-wrap .rp-box .item{
    border-bottom: none;
    padding-bottom: 0;
}

.cmt-wrap .rp-box .item:not(:last-child){
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.cmt-wrap .rp-box .item .top > div{
    background: url("../images/sub/rp-icon.svg") left top / auto no-repeat;
    padding-left: 20px;
}

.cmt-wrap .rp-box .item .bottom{
    padding-left: 20px;
}

.cmt-wrap .rp-box .search-box{
    position: relative;
    margin-left: 30px;
}

.cmt-wrap .rp-box .search-box::before{
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    background: url("../images/sub/rp-icon.svg") center / auto no-repeat;
    position: absolute;
    left: -30px;
    top: 0;
}

.rcm-wrap .ctr-btn-area .swiper-button-next{
    right: 40px !important;
}

.rcm-wrap .ctr-btn-area .swiper-button-prev{
    left: 40px !important;
}

.rcm-wrap .rcm-swiper img{
    margin-bottom: 10px;
}

.ctr-center{
    text-align: center;
}

/* 상단 프로그레스바 스타일 */
.top-ctr-area {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-top: 1px solid var(--line);
}

.ctr-progress-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 50px;
    flex: 1;
}

.ctr-page{
    width: auto;
}

.ctr-progress-bar {
    flex: 1;
    height: 2px;
    background: #e9ecef;
    border-radius: 1px;
    position: relative;
    
}

.ctr-progress {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 9;
}

.ctr-progress::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 5rem;
    height: 2px;
    background: var(--primary);
    z-index: 0;
}

.ctr-page {
    font-size: 14px;
    color: #666;
}

.ctr-page .current {
    font-weight: 600;
    color: #333;
}

/* 하단 네비게이션 스타일 */
.bottom-ctr-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-top: 1px solid var(--line);
}

.ctr-left {
    display: flex;
    align-items: center;
    gap: 0 20px;
}

.ctr-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.ctr-menu-btn img {
    width: 16px;
    height: 16px;
}


.ctr-comment {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #333;
}

.ctr-comment img {
    width: 16px;
    height: 16px;
}

.ctr-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ctr-right .off{
    opacity: 0.5;
}

.ctr-prev,
.ctr-next {
    background: none;
    border: none;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ctr-prev:hover,
.ctr-next:hover {
    color: var(--primary);
}

.book-detail .sec-3{
    margin-top: 20px;
}

/* 결제 모달창 스타일 */
#paymentModal .modal-content {
    max-width: 400px;
    width: 90%;
}

#paymentModal .modal-header h3 {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

#paymentModal .payment-item {
    background-color: #E8FFF5;
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

#paymentModal .payment-item span:first-child {
    font-weight: 500;
    color: #333;
}

#paymentModal .payment-item .price {
    font-weight: 600;
    color: #E91E63;
    font-size: 16px;
}

/* 신고하기 모달창 스타일 */
#reportModal .modal-content {
    max-width: 500px;
    width: 90%;
}

#reportModal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

#reportModal .modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

#reportModal .report-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 16px 20px;
}

#reportModal .report-item .gap-line{
    display: inline-block;
    margin-right: 10px;
    width: 60px;
}

#reportModal .report-item .gap-line::after{
    background: #dadada;
}

#reportModal .report-item p {
    margin: 8px 0;
}

#reportModal .report-item .label {
    font-weight: 600;
    color: #666;
}

#reportModal .report-reasons h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 15px 0;
    color: #333;
}

#reportModal .reason-text {
    font-size: 14px;
    color: #333;
}

#reportModal .modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #f0f0f0;
}


#reportModal .reason-list{
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}

#reportModal .reason-list label{
    width: 100%;
    padding: 15px 20px;
}

#reportModal .reason-list label:not(:last-child){
    border-bottom: 1px solid var(--line);
}


#reportModal .reason-list  label.type-2:has(input[type="radio"]:checked){
    color: var(--primary);
    transition: 0.2s;
}


#reportModal .modal-footer .btn{
    border-radius: 10px !important;
}

.sub-top-tit.type-2 .inner{
    justify-content: space-between;
}

.sub-top-tit.type-2 .back{
    width: 30px;
    height: 30px;
    background: url("../images/sub/bak.svg") center /15px no-repeat;
}

.sub-top-tit.type-2  .lbox{
    width: auto;
}

.sub-top-tit.type-2 .share{
    width: 30px;
    height: 30px;
    background: url("../images/sub/share.svg") center / 20px no-repeat;
}

#sub.view-page{
    max-width: 1400px;
    margin-top: 0;
}


.book-regist .reg-form .box:not(:last-child){
    margin-bottom: 30px;
}

.book-regist .reg-form .box .tit{
    display: flex;
    align-items: center;
    gap: 0 5px;
    margin-bottom: 20px;
}

.book-regist .reg-form .box input,
.book-regist .reg-form .box select{
    width: 100%;
}

.book-regist .reg-form .box .col_gray9{
    margin: 10px 0 0 20px
}

.book-regist .btn-area {
    display: flex;
    gap: 0 10px;
    margin-top: 50px;
}

.book-regist .btn-area .btn{
    flex: 1;
}

.book-regist .btn-area .btn.bg_gray span{
    background: url("../images/common/arr-left.svg") left center / 15px no-repeat;
    padding-left: 20px;
    color: #fff;
}

.book-regist .btn-area .btn.bg_primary span{
    background: url("../images/common/arr-right.svg") right center / 15px no-repeat;
    padding-right: 20px;
    color: #fff;
}

.book-regist .tabMn li{
    flex: 1;
    justify-content: center;
    display: flex;
    padding-bottom: 8px;
}

.book-regist .reg-form-2 {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.book-regist .reg-form-2 .box.n-1{
    display: flex;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.book-regist .reg-form-2 .box.n-1 b{
    width: 150px;
}

.book-regist .reg-form-2 .box.n-2{
    display: flex;
    gap: 0 20px;
}

.book-regist .reg-form-2 .box.n-2 .item{
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px 0;
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.book-regist .reg-form-2 .box.n-2 .item p{
    color: var(--gray9);
}

.book-regist .reg-form-2 .box.n-2 .item a{
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid var(--primary);
    padding: 5px 10px;
    color: var(--primary);
    font-size: 12px;
    word-break: keep-all;
}

.book-regist .reg-form-2 .box.n-3{
    margin: 30px auto;
    text-align: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.book-regist .reg-form-2 .box.n-3 li{
    font-size: 14px;
}

.book-regist .reg-form-2 .box.n-3 li .col_primary{
    font-weight: 600;
    text-decoration: underline;
}

.book-regist .reg-form-2 .box.n-4{
    max-width: 300px;
    margin: 20px auto 0 auto;
}

.book-regist .reg-form-2 .box.n-4 .img{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px 0;
    padding: 40px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}


.book-regist .reg-form-2 .box.n-4 .btn{
    font-size: 14px;
    color: var(--gray9);
}

.book-regist .reg-form-2 .box.n-4  .on.btn{
    color: var(--primary);
    border-color: var(--primary);
}

.book-regist .reg-form-3{
    border: 1px solid var(--line);
    border-radius: 10px;
}

.book-regist .reg-form-3 .top{
    margin: 50px auto;
    text-align: center;

}

.book-regist .reg-form-3 .top .imgbox{
    display: flex;
    flex-direction: column;
}

.book-regist .reg-form-3 .top .tbox{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px 0;
    padding: 20px;
}

.book-regist .reg-form-3 .top  .tbox .tit,
.book-regist .reg-form-3 .top .tbox .stit{
    border: 1px solid var(--line);
    padding: 10px;
}

.book-regist .reg-form-3 .top  .tbox .tit{
    width: 80%;
}

.book-regist .reg-form-3 .top  .tbox .stit{
    width: 30%;
}

.book-regist .reg-form-3 .top .imgbox{
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin: 0 auto;
}

.book-regist .reg-form-3 .bottom{
    background-color: #f5f5f5;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}

.book-regist .reg-form-3 .bottom .lbox{
    flex: 1;
}
.book-regist .reg-form-3 .bottom .lbox .sec-1 ul{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.book-regist .reg-form-3 .bottom .lbox .sec-1 ul li{
    width: calc((100% - 40px) / 5);
    border-radius: 5px;
    cursor: pointer;
}

.book-regist .reg-form-3 .bottom .lbox .sec-1 ul li img{
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.book-regist .reg-form-3 .bottom .lbox .sec-1 ul li.on img{
    border: 3px solid var(--primary);
}

.book-regist .reg-form-3 .bottom .lbox .sec-1 .bd-box{
    border-radius: 10px 10px 0 0;
}
.book-regist .reg-form-3 .bottom .lbox .sec-2{
    background: #fff;
    border-radius: 0 0 10px 10px;
    border-top: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    
}

.book-regist .reg-form-3 .bottom .lbox .sec-2 .upload,
.book-regist .reg-form-3 .bottom .rbox .upload{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px 0;
    border: 1px dotted var(--line);
    border-radius: 10px;
    padding: 20px;
}


.book-regist .reg-form-3 .bottom .upload .btn{
    width: 80%;
    height: 35px;
    line-height: 35px;
}

.book-regist .reg-form-3 .bottom .rbox{
    flex: 1;
}

.book-regist .reg-form-3 .bottom .bd-box{
    background-color: #fff;
}

.book-regist .reg-form-3 .bottom .rbox .bd-box{
    height: 70%;
}

.book-regist .reg-form-3 .bottom .rbox  p{
    word-break: keep-all;
}

.book-regist .reg-form-3 .bottom .rbox .upload{
    border: none;
    height: 100%;
    justify-content: center;
}

.book-regist .reg-form-4 .top > .bd-box.bg_gray_2{
    border: none;
    padding: 40px 20px;
}

.book-regist .reg-form-4 .dot-list span.bd-box{
    padding: 5px 10px;
    border-radius: 5px;
    margin-left: 10px;
    background-color: #fff;
    border: 1px solid var(--line);
    font-size: 12px;
}

.book-regist .reg-form-4 .bottom {
    margin-top: 20px;
}

.book-regist .reg-form-4 .bottom dl{
   display: flex;
   flex-wrap: wrap;
   gap: 0 20px;
   justify-content: space-between;
}

.book-regist .reg-form-4 .bottom dl.box-1{
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.book-regist .reg-form-4 .bottom dl{
    line-height: 1.8;
}

.book-regist .reg-form-5 .top .img{
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}


.book-regist .reg-form-5 .top .info-top{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.book-regist .reg-form-5 .top .info-top .box{
    display: flex;
    gap: 0 10px;
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 10px;
    width: calc((100% - 20px) / 3);
}

.book-regist .reg-form-5 .top .info-top .box p{
    font-weight: 300;
    color: var(--gray9);
}

.book-regist .reg-form-5 .top .info-bottom{
    border-radius: 20px;
    background-color: #f5f5f5;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.book-regist .reg-form-5 .top .info-bottom dl{
    display: flex;
    gap: 0 10px;
    width: calc((100% - 20px) / 3);
}

.book-regist .reg-form-5 .top .info-bottom dl dt{
    color: var(--gray9);
    font-weight: 300;
}

.book-regist .reg-form-5 .bookstore-info{
    margin-top: 50px;
}

.book-regist .reg-form-5 .bookstore-info .bd-box{
    padding: 30px;
}

.book-regist .reg-form-5 .bookstore-info .bd-box > div:not(:last-child){
    margin-bottom: 20px;
}

.book-regist .reg-form-5 .bookstore-info .bd-box > div b{
    display: block;
    margin-bottom: 10px;
}

.book-regist .reg-form-5 .bookstore-info .bd-box > div textarea{
    width: 100%;
    border-radius: 10px;
    min-height: 150px;
    color: var(--gray9);
}

.book-regist .reg-form-5 .bookstore-info .bd-box > div select{
    width: 100%;
    color: var(--gray9);
}

.book-regist .reg-form-5 .bookstore-info .ntc-txt-2{
    word-break: keep-all;
}

/* 반응형 */

@media (max-width: 1400px) {
    .rcm-wrap .ctr-btn-area{
        display: none;
    }

    .rcm-wrap{
        width: 100%;
        padding-left: 20px;
        padding-right: 0px;
    }
}

@media (max-width: 768px) {

    #sub {
        margin: 20px auto;
    }

    .individual-pass .list-header,
    .individual-pass .list-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .individual-pass .list-header {
        display: none;
    }
    
    .individual-pass .list-item {
        border: 1px solid var(--line);
        border-radius: 6px;
        margin-bottom: 10px;
    }
    
    .individual-pass .list-item .date::before {
        content: "구매일자: ";
        font-weight: 600;
        color: var(--gray9);
    }
    
    .individual-pass .list-item .amount::before {
        content: "금액: ";
        font-weight: 600;
        color: var(--gray9);
        margin-right: 5px;
    }
    
    .individual-pass .list-item .cancel::before {
        content: "구매취소: ";
        font-weight: 600;
        color: var(--gray9);
        margin-right: 5px;
    }
    
    /* .individual-pass.history 반응형 */
    .individual-pass.history .list-header,
    .individual-pass.history .list-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .individual-pass.history .list-header {
        display: none;
    }
    
    .individual-pass.history .list-item {
        border: 1px solid var(--line);
        border-radius: 6px;
        margin-bottom: 10px;
    }
    
    .individual-pass.history .list-item .date::before {
        content: "충전일자: ";
        font-weight: 600;
        color: var(--gray9);
    }
    
    .individual-pass.history .list-item .amount::before {
        content: "충전금액: ";
        font-weight: 600;
        color: var(--gray9);
        margin-right: 5px;
    }
    
    .individual-pass.history .list-item .pay::before {
        content: "결제방법: ";
        font-weight: 600;
        color: var(--gray9);
        margin-right: 5px;
    }
    
    .individual-pass.history .list-item .cancel::before {
        content: "구매취소: ";
        font-weight: 600;
        color: var(--gray9);
        margin-right: 5px;
    }

    .individual-pass .list {
        border:none;
    }

    .individual-pass .list-item .date,
    .individual-pass .list-item .amount,
    .individual-pass .list-item .cancel{
        text-align: left;
    }

    .individual-pass .list-item:last-child{
        border-bottom: 1px solid var(--line);
    }

    .individual-pass.history .pay{
        text-align: left;
    }

    .myPage.ticket .prf-wrap{
        flex-direction: column;
        gap: 20px 0;
    }

    .myPage.ticket .prf-wrap .lbox{
        width: 100%;
    }

    .myPage.ticket .prf-wrap .bd-btn{
        width: 100%;
        text-align: center;
    }

    .myPage.ticket .prf-wrap .nkname p{
        font-size: 18px;
    }

    .myPage.ticket .prf-wrap .bd-btn{
        border-radius: 5px;
    }

    .saved-money .box-2 .flexBox{
        display: block;
    }

    .category-list .list{
        gap: 20px;
    }
    
    .category-list .list .item{
        width: calc((100% - 20px) / 2);
    }

    .pagination{
        gap: 5px;
    }

    .pagination li button{
        width: 30px !important;
        height: 30px !important;
    }

    .notice-page .list .item > a{
        flex-direction: column;
    }

    .notice-page .list .item > a p{
        text-align: left;
        width: 100%;
    }

    #sub.book-detail .sec-1{
        flex-direction: column;
    }

    .book-detail .sec-1 .img{
        width: 100%;
        margin-bottom: 20px;
    }

    .cmt-wrap .list .top{
        flex-direction: column;
        gap: 10px 0;
    }

    .cmt-wrap .list .top .btn-area{
        flex-direction: row;
        margin-left: auto;
        justify-content: end;
    }
    
    .cmt-wrap .list .top .mn{
        position: absolute;
        top: 0;
        right: 0;
    }

    .cmt-wrap .list .top .btn-area button{
        border-radius: 5px !important;
    }

    .cmt-wrap .list .top .btn-area button.n-1{
        margin-right: 5px;
    }

    .top-ctr-area,
    .bottom-ctr-area{
        padding: 20px 0;
    }

    .sub-top-tit.type-2 .inner{
        padding: 0 !important;
    }

    .box.agree .chk-list .box{
        flex-direction: column;
        align-items: baseline;
        gap: 5px 0;
    }

    .book-regist .reg-form-3 .bottom{
        flex-direction: column;
        gap: 20px 0;
    }

    .book-regist .reg-form-3 .bottom .lbox{
        width: 100%;
    }

    .book-regist .reg-form-3 .bottom .rbox{
        width: 100%;
    }

    .book-regist .reg-form-4 .dot-list span.bd-box{
        display: inline-block;
        margin: 5px 0 0 0;
        padding: 2px 10px;
    }

    .bookstore-info .tit{
        flex-direction: column;
    }

    .bookstore-info .tit .fs-sm{
        margin: 0;
    }

    .book-regist .reg-form-5 .top .info-top .box{
        width: 100%;
    }

    .book-regist .reg-form-5 .top .info-bottom dl {
        gap: 10px;
        width: 100%;
        justify-content: space-between;
    }

}/*E:768px*/

@media (max-width: 480px) {
    .individual-pass .list-item .book-info {
        gap: 8px;
    }
    
    .individual-pass .list-item .book-thumbnail {
        width: 35px;
        height: 45px;
    }
    
    .individual-pass .list-item .book-title {
        font-size: 13px;
    }
    
    /* .individual-pass.history 반응형 */
    .individual-pass.history .list-item .book-info {
        gap: 8px;
    }
    
    .individual-pass.history .list-item .book-thumbnail {
        width: 35px;
        height: 45px;
    }
    
    .individual-pass.history .list-item .book-title {
        font-size: 13px;
    }
}


