@charset "utf-8";
@import url(./default.css);

.check-wrap{
    padding: 3%;
    padding-top: 130px;
}
.check-wrap .top h3{
    font-size: 34px;
    /* font-family: "mid"; */
    color:#474747;
    font-weight: normal;
    margin-bottom: 16px;
}
.flex_wrap{
    padding: 4% 2%;
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
}
.top{
    margin: 0 auto 3%;
    width: 60%;
}
.leftbox{
    width: 60%;
}
.left_flex{
    display: flex;
    gap: 5%;
}
.leftbox .photo{
    width:100%;
    border: 1px solid #474747;
        border-radius: 10px;
    overflow: hidden;
}
.leftbox .photo img{
    display:block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.box1{

    width: 30%;
    align-self: center;
}
.box2{
    align-self: center;
    width: 40%;
}
.none{
    padding: 0 !important;
}
.box2 li{
    font-size: 18px;
    /* font-family: "mid"; */
    color: #2F2F37;
    border-bottom: 1px solid #9e9d9d;
    padding: 1.5% 0;
}
.box2 li span{
    padding: 0 2%;
}
.box2 li#rc_phone a {
    color: #4473D1;
    position: relative;
}
.box2 li#rc_phone a::before {
    content: '';
    /* display: inline-block; */
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #4473D1;
    margin-top: 2px;
}
.box3{
align-self:flex-start;
 width: 20%;
 text-align: right;
}

.box1 p{
    font-size: 25px;
    color: #474747;
    /* font-family: "mid"; */
    margin-bottom: 5%;
    display: inline-block;
}
.buttons a{
    display: block;
    width: 100%;
    border: 1px solid #474747;
    font-size: 22px;
    /* font-family: "mid"; */
    padding: 3px 1%;
    color: #474747;
    text-align: center;
    border-radius: 10px;
}
.buttons{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 5%;
}
.top button{
    border: 1px solid #474747;
    border-radius: 5px;
    font-size: 20px;
    text-align: center;
    /* font-family: "mid"; */
    color: #474747;
    background-color: transparent;
    padding: 3px 16px;
    cursor: pointer;
}
.box3 span{
    font-size: 25px;
    color: #474747;
    text-decoration: underline;
    text-underline-position: under;
    cursor:pointer;
}

.leftbox .flex_wrap:nth-child(even){
    border-top: none;
}
.rightbox{
    width: 30%;
    border: 1px solid #000;
padding: 2%;
display: none;
}

.rightbox .title h3{
    font-size: 34px;
    display: inline-block;
    font-weight: normal;
    color: #474747;
}
.title button{
    padding: 4px 12px;
    border: 1px solid #474747;
    background-color: transparent;
    font-size: 20px;
    background-color: #474747;
    color: #fff;
    border-radius: 5px;
    /* font-family: "mid"; */
}
.title{
    display: flex;
    justify-content: space-between;
}
.rightbox p{
    font-size: 18px;
    color: #656565;
    margin: 5px 0 30px;
}
.rightbox .box h4{
    font-size: 25px;
    color: #474747;
    /* font-family: "mid"; */
    font-weight: normal;
    margin-bottom: 2%;
}
.box{
    margin-top: 6%;
}
.box li{
    font-size: 18px;
    /* font-family: "mid"; */
    color: #2F2F37;
    margin-bottom: 7px;
}
.box li span{
    padding: 0 12px;
}
.text_between{
    letter-spacing: 8.82px;
    padding: 0 !important;
}
.text2{
    padding: 0 1% !important;
    padding-right: 2% !important;
}
.flex-all{
    display: flex;
    justify-content: center;
}

.title .button button{
    cursor: pointer;
}
.flex-all-m{
    display: none;
}
.detail-m{
    display: none;
}
.detail-m #rc_cancel_m, .detail-m #rc_rebook_m{
    color: red;
    font-size: 18px;
    width: 30%;
    padding: 5px 10px;
    border: 1px solid #000;
}
.refund{
    padding: 5% 2%;
    width: 20%;
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid #8766e8;
    background-color: #fff;
    display: none;
}

.refund h3{
    color: #8766e8;
    text-decoration: underline;
    margin-bottom: 5%;
    text-align: center;
    font-size: 22px;
}
.refund .refund_text li{
margin-bottom: 5%;
}
.refund .refund_text{
    margin-bottom: 5%;
}
.refund .reasons{
    margin-bottom: 5%;
}
.refund .reasons li{
    color: #8766e8;
    margin-bottom: 5%;
}
.refund  .flex{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.refund button, .refund input[type="submit"]{
    background-color: #8766e8;
    color: #fff;
    padding: 10px 10px;
    border: none;
    width: 45%;
    font-family: 'mid';
    cursor: pointer;
    display: inline-block;
}
.modal {
    display: none; /* 기본적으로 숨김 */
    position: fixed; /* 화면에 고정 */
    z-index: 1000; /* 다른 요소보다 위에 표시 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* 필요 시 스크롤 */
    background-color: rgba(0, 0, 0, 0.4); /* 반투명 검정 배경 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* 모달 내용의 너비 */
    max-width: 600px; /* 최대 너비 */
    max-height: 80vh; /* 최대 높이 */
    overflow-y: auto; /* 내용이 넘칠 경우 스크롤 */
    font-family: Arial, sans-serif; /* 폰트 설정 */
}

/* 제목 스타일 */
.rightbox .title h3 {
    font-size: 24px; /* 제목 크기 */
    font-weight: bold; /* 굵게 */
    /* margin-bottom: 10px;  */
}

.rightbox .title p {
    font-size: 16px; /* 부제목 크기 */
    margin-bottom: 20px; /* 아래 마진 */
    color: #333; /* 텍스트 색상 */
}

/* 리스트 항목들을 정렬하고 패딩을 조정하는 스타일 */
.rightbox .box ul {
    list-style-type: none; /* 기본 리스트 스타일 제거 */
    padding: 0; /* 패딩 제거 */
    margin: 0; /* 마진 제거 */
}

.rightbox .box ul li {
    display: flex; /* 플렉스 박스 사용 */
    justify-content: space-between; /* 좌우 정렬 */
    padding: 5px 0; /* 각 항목에 패딩 추가 */
    border-bottom: 1px solid #eee; /* 항목 구분선 추가 */
    font-size: 14px; /* 글자 크기 일정하게 설정 */
}

/* 예약 정보와 결제 정보를 더 깔끔하게 구분 */
.rightbox .box h4 {
    border-bottom: 2px solid #333; /* 구분선 추가 */
    padding-bottom: 5px; /* 아래 패딩 추가 */
    margin-bottom: 2px; /* 아래 마진 추가 */
    font-size: 18px; /* 제목 크기 */
    font-weight: bold; /* 굵게 */
}

.rightbox .box span {
    font-weight: bold; /* 중요한 정보는 굵게 표시 */
}

/* 텍스트 스타일 조정 */
.rightbox .box .text_between, 
.rightbox .box .text2 {
    font-weight: normal; /* 일반 텍스트는 기본 가중치 */
}

.rightbox .box .text2 {
    margin-left: 5px; /* 약간의 간격 추가 */
}

@media(max-width:1200px){
    .check-wrap .top h3{
        font-size: 22px;
    }
    .top button{
        font-size: 16px;
        padding: 3px 10px;
    }
    .box1 p{
        font-size: 18px;
    }
    .box3 span{
        font-size: 18px;
    }
    .box2 li{
        font-size: 14px;
    }
    .buttons a{
        font-size: 16px;
    }

    .rightbox .title h3{
        font-size: 26px;
    }
    .title button{
        font-size: 16px;
        margin: 0 !important;
    }
    .rightbox .box h4{
        font-size: 18px;
    }
    .rightbox p{
        font-size: 14px;
    }
    .box li{
        font-size: 14px;
    }
    .rightbox{
        /* width: 40%; */
    }
    .refund{
        width: 30%;
    }
}
@media(max-width:768px){
    .refund {
        width: 45%;
    }
    .flex-all{
        display: none;
    }
    .flex-all-m{
        display: block;
    }
    .flex-all-m .topbox_m{
        width: 90%;
        margin: 0 auto;
        border-top: 1px solid #707070;
    }
    .flex-all-m .topbox_m h4{
        font-size: 20px;
        font-weight: normal;
        color: #474747;
        margin-bottom: 2%;
        margin-top: 3%;
    }
    .flex-all-m img{
        display: block;
        width: 100%;
        object-fit: cover;
        margin-bottom: 3%;
    }
    .top{
        width: 90%;
        margin: 0 auto;
        margin-bottom: 6%;
    }
    .check-wrap {
        padding-top: 20px;
    }
    .check-wrap .top h3{
        margin-bottom: 2%;
    }
    .buttons-m{
        display: flex;
        justify-content: space-between;
        margin-bottom: 5%;
    }
    .buttons-m a{
        display: inline-block;
        text-align: center;
        width: 100%;
        height: 35px;
        line-height: 35px;
        font-size: 20px;
        color: #474747;
        border: 1px solid #474747;
        border-radius: 5px;
    }
    .flex-all-m ul>li{
        font-size: 15px;
        color: #474747;
        border-bottom: 1px solid #D4D4D4;
        padding-bottom: 6px;
    }
    
    .flex-m{
        display: flex;
        align-items: center;
        margin-bottom: 3%;
    }
    .flex-m ul:first-child{
        width: 30%;
    }
    .flex-m ul:last-child{
        width: 100%;
    }
    .flex-m ul li{
        padding: 10px 0;
    }
    .flex-m ul li#rc_phone a {
        color: #007CDB;
        position: relative;
    }
    .flex-m ul li#rc_phone a::before {
        content: '';
        /* display: inline-block; */
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 1px;
        background-color: #007CDB;
        margin-top: 2px;
    }
    .detail-m{
        /* border: 1px solid #707070; */
        padding: 20px;
        background: #fff;
    }
    .detail-m h4{
        margin-bottom: 0 !important;
        font-weight: 600;
    }
    .detail-m p{
        font-size: 15px;
        color: #7A7A7A;
        margin: 5px 0 10px;
        word-break: keep-all;
    }
    .detail-m ul{
        color: #474747;
        font-size: 19px;
    }
    .detail-m ul li{
        font-size: 15px;
        color: #474747;
        margin-bottom: 10px;
        border-bottom: 1px solid #D4D4D4;
    }
    .detail-m ul li:first-child{
        margin-top: 2%;
    }
    .detail-m1{
        margin-bottom: 22px;
    }
    .detail-m h5 {
        margin: 15px 0 10px;
        padding-bottom: 5px;
        border-bottom: 1px solid #707070;
    }
    .flex-all-m button{
        font-size: 20px;
        color: #474747;
        font-weight: normal;
        /* font-family: "mid"; */
        background-color: transparent;
        border: none;
        display:block;
        margin: 0 auto;
        width: 50%;
        margin-top: 4%;
        margin-bottom: 4%;
        cursor: pointer;
    }
    .flex-all-m button b {
        font-weight: normal;
    }
    .flex-all-m button span{
        display: inline-block;
        font-size: 14px;
        transform:rotate(90deg);
        margin-left: 8px;
        transition: all ease 0.5s;
    }
  
}
@media(max-width:500px){
    .refund {
        width: 90%;
    }

    .refund .refund_text{
        font-size: 13px;
    }
    .refund button, .refund input[type="submit"]{
        padding: 5px;
    }
    .refund label{
        font-size: 13px;
    }
    .refund h3{
        font-size: 18px;
    }
    .flex-all-m .topbox_m h4{
        font-size: 20px;
    }
    .buttons-m a{
        font-size: 16px;
    }
    .flex-all-m ul>li{
        font-size: 14px;
        word-break: keep-all;
    }
    .flex-all-m button{
        font-size: 18px;
    }
    .flex-all-m button span{
        font-size: 14px;
    }
    .detail-m #rc_cancel_m, .detail-m #rc_rebook_m{
        width: 40%;
        font-size: 16px;
    }
}