#reserve_container {
    padding: 70px 0;
    background: url("/static/app_www_allcar/base/img/bg_reserve.jpg") center top / cover no-repeat;
}

#reserve_container .edk_custom_input,
#reserve_container .edk_custom_input:disabled {
    background-color: inherit;
}

#reserve_container .reserve_sect {
    padding: 50px 32px;
    background-color: rgba(23, 23, 44, 0.25);
    border-radius: 20px;
}

#reserve_container .reserve_sect>*:not(.main_title_wrap, :last-child) {
    margin-bottom: 16px;
}

#reserve_container .main_title_wrap {
    margin-bottom: 30px;
}

#reserve_container .main_title_wrap .title {
    color: #fff;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    text-align: center;
}

#reserve_container .main_title_wrap .title br {
    display: none;
}

#reserve_container .main_title_wrap .title .color {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    position: relative;
    top: -4px;
}

#reserve_container .main_title_wrap .title .color::before {
    content: "";
    display: block;
    width: 24px;
    aspect-ratio: 1/1;
    background: url("/static/app_www_allcar/base/img/icon_star_y.png") center / cover no-repeat;
}

#reserve_container .reserve_sect_wrap {
    display: none;
    transition: all 0.8s ease;
}

#reserve_container .reserve_sect_wrap .reserve_sect_area:not(:last-child) {
    margin-bottom: 16px;
}

#reserve_container .reserve_sect_area {
    padding: 24px 16px;
    background-color: #fff;
    border: 1px solid #EBEBEB;
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: all 0.8s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#reserve_container .reserve_sect_area.bg_red {
    background-color: #FFEDEA;
}

#reserve_container .reserve_sect_area.bg_blue {
    background-color: #EAF3FF;
}

#reserve_container .hide {
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    overflow: hidden;
    margin: 0;
    border: none !important;
    position: absolute;
}

/* ==================== 예약영역 타이틀 공통 ==================== */
#reserve_container .section_title:not(:last-child) {
    margin-bottom: 16px;
}

#reserve_container .section_title .title_wrap+.sub_text {
    margin-top: 4px;
}

#reserve_container .section_title.flex_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

#reserve_container .section_title .title_wrap {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

#reserve_container .section_title .title_wrap .icon_wrap {
    display: flex;
    aspect-ratio: 1/1;
    width: 24px;
}

#reserve_container .section_title .title_wrap .title_text {
    font-family: 'Paperlogy', sans-serif !important;
    font-weight: 800;
    color: #222;
    font-size: 18px;
    word-break: keep-all;
}

#reserve_container .section_title.main_price_area .title_wrap .title_text {
    font-size: 22px;
}

#reserve_container .section_title .sub_text {
    color: #5E5E5E;
    font-size: 13px;
    width: 100%;
}

#reserve_container .section_title .price_wrap {
    font-family: 'Paperlogy', sans-serif !important;
    font-weight: 900;
    font-size: 22px;
    color: #5E5E5E;
    margin-left: auto;
}

#reserve_container .section_title.main_price_area .price_wrap {
    color: var(--error-color);
}

#reserve_container .btn_receipt {
    display: flex;
    background-color: transparent;
    align-items: center;
    gap: 3px;
    color: #5E5E5E;
    font-size: 13px;
}

#reserve_container .btn_receipt .img_wrap {
    display: flex;
    aspect-ratio: 1/1;
    width: 15px;
}

/* ==================== 섹션 리스트 ==================== */
#reserve_container .section_list {
    gap: 8px;
}

.section_list.list_vehicle li {
    width: calc((100% - 64px)/9);
}

#reserve_container .section_list.list_vehicle .select_item {
    width: 100%;
    min-height: 120px;
    flex-direction: column;
    text-align: center;
    font-size: 12px;
    color: #222;
    padding: 8px 0;
}

#reserve_container .section_list.list_vehicle .img_wrapper {
    width: 100%;
    aspect-ratio: 1 / 0.516129032;
    overflow: hidden;
    margin: 0 auto;
}

#reserve_container .section_list.list_vehicle .img_wrapper img {
    height: 100%;
    object-fit: contain;
    object-position: center;
}

#reserve_container .section_list.list_vehicle .select_item .text_title {
    font-weight: 500;
    margin-top: 6px;
}

#reserve_container .section_list.list_vehicle .select_item .text_sub {
    font-weight: 400;
}

.list_plantype .select_item {
    padding: 6px 14px;
}

.list_plantype .select_item.type_route {
    gap: 3px;
}

.list_plantype .select_item.type_route span:first-child {
    display: flex;
    align-items: center;
    gap: 3px;
}

.list_plantype .select_item.type_route span:first-child::after {
    content: "";
    display: block;
    width: 14px;
    aspect-ratio: 1/1;
    background: url("/static/app_www_allcar/base/img/icon_arrow_right_long_g.png") center / cover no-repeat;
}

.list_plantype .select_item.type_route:hover span:first-child::after,
.list_plantype .select_item.type_route.active span:first-child::after {
    background-image: url("/static/app_www_allcar/base/img/icon_arrow_right_long_w.png");

}

.list_stay .select_item {
    width: 165px;
    padding: 12px 0;
}

.list_waittime .select_item {
    width: 165px;
    padding: 12px 0;
}

.list_payment .select_item {
    width: 165px;
    padding: 12px 0;
}

#main_wrap>div .section_list.list_vehicle {
    align-items: stretch;
}

/* ==================== 섹션 내 radio/checkbox 공통 ==================== */
#reserve_container .radio_wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

#reserve_container .edk_custom_radio+label {
    color: #5E5E5E;
    font-size: 14px;
    padding-left: 22px;
    font-weight: 500;
}

#reserve_container .edk_custom_radio+label:before {
    background-image: url("/static/app_www_allcar/base/img/icon_radio_default_g.png");
    top: 2px;
}

#reserve_container .edk_custom_radio:checked+label {
    color: var(--main-color);
}

#reserve_container .edk_custom_radio:checked+label:after {
    background-image: url("/static/app_www_allcar/base/img/icon_radio_check_blue.png");
    top: 2px;
}

#reserve_container .edk_custom_checkbox+label {
    font-size: 14px;
    color: #222;
    font-weight: 400;
}

#reserve_container .edk_custom_checkbox+label::before {
    background-image: url("/static/app_www_allcar/base/img/icon_radio_default_g.png");
    top: 2px;
}

#reserve_container .input_checkbox_wrap.all_checkbox .edk_custom_checkbox+label {
    font-size: 16px;
    font-weight: 500;
}

#reserve_container .input_checkbox_wrap.red .edk_custom_checkbox+label,
#reserve_container .input_checkbox_wrap.red .edk_custom_checkbox:checked+label {
    color: var(--error-color);
}

#reserve_container .input_checkbox_wrap .edk_custom_checkbox+label::before,
#reserve_container .input_checkbox_wrap .edk_custom_checkbox:checked+label::after {
    top: 2px;
    width: 18px;
    height: 18px;
}

#reserve_container .input_checkbox_wrap .edk_custom_checkbox.all+label::before {
    background-image: url("/static/app_www_allcar/base/img/icon_radio_default.png");
}

#reserve_container .input_checkbox_wrap.red .edk_custom_checkbox+label::before {
    background-image: url("/static/app_www_allcar/base/img/icon_radio_default_r.png");
}

#reserve_container .edk_custom_checkbox:checked+label {
    color: var(--main-color);
}

#reserve_container .edk_custom_checkbox:checked+label:after {
    background-image: url("/static/app_www_allcar/base/img/icon_checkbox_check_blue.png");
}

#reserve_container .input_checkbox_wrap .edk_custom_checkbox:checked+label {
    color: #222;
}


#reserve_container .input_checkbox_wrap.red .edk_custom_checkbox:checked+label:after {
    background-image: url("/static/app_www_allcar/base/img/icon_radio_check_r.png");
}

/* ==================== input 공통 ==================== */
#reserve_container .edk_input_wrap {
    position: relative;
}

#reserve_container .edk_input_wrap.in_color {
    background-color: #F5F5F5;
    border-radius: 8px;
    padding: 12px;
}

#reserve_container .edk_input_wrap.in_color .input_title {
    color: #5E5E5E;
    font-size: 12px;
    font-weight: 600;
}

#reserve_container .edk_input_wrap.in_color .edk_custom_input {
    border: none;
    font-size: 14px;
    padding: 0;
    width: 100%;
}

#reserve_container .edk_input_wrap.in_color .edk_checkbox_area {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-size: 13px;
}

#reserve_container .edk_input_wrap.in_color .edk_checkbox_area .edk_custom_checkbox+label {
    color: #5E5E5E;
}

#reserve_container .edk_input_wrap.in_color.disabled {
    background-color: #E1E1E1;
}

#reserve_container .edk_input_wrap.in_color.disabled .input_title,
#reserve_container .edk_input_wrap.in_color.disabled .edk_custom_input {
    color: #9E9E9E;
}

#reserve_container .flex_content {
    display: flex;
    gap: 6px 8px;
    flex-wrap: wrap;
    position: relative;
    margin-top: 12px;
}

#reserve_container .flex_content .edk_input_wrap {
    flex-grow: 1;
}

#reserve_container .flex_content .btn_change {
    width: 26px;
    aspect-ratio: 1/1;
    display: flex;
    position: absolute;
    /* bottom: 20px; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    cursor: pointer;
}

#reserve_container .add_stopover {
    width: 100%;
    display: flex;
    gap: 4px;
    align-items: center;
    font-size: 14px;
    color: #222;
    margin-top: 6px;
    cursor: pointer;
}

#reserve_container .add_stopover .img_wrapper {
    display: flex;
    width: 18px;
}

/* 경유지 추가 */
.input_stopover_wrap {
    margin-top: 6px;
}

.input_stopover_wrap .input_title {
    display: flex;
    align-items: center;
    gap: 4px;
}

.input_stopover_wrap .stopover_number {
    padding: 2px 3px;
    border-radius: 3px;
    background-color: var(--sub-color);
    font-family: 'Paperlogy', sans-serif !important;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
}

.input_stopover_wrap .remove_stopover {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    display: flex;
    width: 18px;
    opacity: 0.7;
    cursor: pointer;
}



/* ==================== addr list ==================== */
#reserve_container .addr_detail {
    position: relative;
}

#reserve_container .addr_detail .dim {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

#reserve_container .addr_detail_list {
    position: absolute;
    left: 0;
    top: 8px;
    width: 100%;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #777777;
    border-radius: 5px;
    z-index: 5;
}

#reserve_container .addr_detail_list li {
    padding: 12px 16px;
    color: #333;
    cursor: pointer;
}

#reserve_container .addr_detail_list li:not(:last-of-type) {
    border-bottom: 1px solid #D9D9D9;
}

#reserve_container .addr_detail_list li strong {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 700;
}

#reserve_container .addr_detail_list li address {
    font-size: 14px;
}

/* date */
.date_count_wrap {
    background-color: #FFF5DE;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 400;
    color: #222;
    margin-left: auto;
}

.date_title {
    width: 100%;
    font-size: 12px;
    font-weight: 700;
    color: #222;
}

/* input */
.input_btn_wrap {
    display: flex;
    gap: 8px 12px;
}

.input_btn_wrap .edk_input_wrap {
    width: 100%;
}

.input_btn_wrap .btn_default {
    width: 120px;
    flex-shrink: 0;
}


/* terms */
.input_checkbox_wrap {
    display: flex;
    justify-content: space-between;
}

.input_checkbox_wrap.all_checkbox {
    padding: 12px;
    border-radius: 8px;
    background-color: #F8F8F8;
}

.input_checkbox_wrap.all_checkbox.red {
    background-color: #FFF4F4;
}

.input_checkbox_wrap:not(.all_checkbox) {
    padding: 0 16px;
    margin-top: 12px;
}

.input_checkbox_wrap .btn_terms {
    text-decoration: underline;
    font-size: 13px;
    font-weight: 400;
    color: #222;
    display: flex;
    margin-top: 4px;
}

.all_checkbox+.reserve_notice_list {
    padding: 0 16px;
    margin-top: 12px;
}

.reserve_notice_list li {
    display: flex;
    font-size: 14px;
    font-weight: 400;
    color: #5E5E5E;
}


.reserve_notice_list li::before {
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #5E5E5E;
    margin: 9px 9px 0;
}

.reserve_notice_list.red li {
    color: var(--error-color);
}

.reserve_notice_list.red li::before {
    background-color: var(--error-color);
}

.waittime_reason {
    margin-top: 8px;
}

.section_verify .input_btn_wrap {
    flex-wrap: wrap;
}

.section_verify .input_verify_box {
    width: 100%;
    display: flex;
    gap: 8px 12px;
}

.section_contact .edk_input_wrap:not(:first-child) {
    margin-top: 8px;
}

.section_bill_info .edk_input_wrap:not(:first-child) {
    margin-top: 8px;
}

.section_bill_info .edk_input_wrap:first-child:not(.edk_custom_file_wrap) {
    margin-top: 12px;
}

.section_bill_info .edk_file_area {
    margin-top: 8px;
}

/* 결제방식 */
.info_area.bank {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F0F5FF;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    padding: 11px 12px;
    flex-wrap: wrap;
    gap: 8px 30px;
    margin-top: 12px;
}

.info_area.bank .info_content {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.info_area.bank p {
    font-size: 16px;
    font-weight: 500;
    color: #222;
}

.info_area.bank .btn_copy {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 5px;
    border: 1px solid #9E9E9E;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 400;
    color: #5E5E5E;
    background-color: transparent;
}

.info_area.bank .btn_copy .icon_wrap {
    display: flex;
    width: 12px;
}

.submit_btn {
    padding: 15px 0;
    margin-top: 24px;
    font-size: 18px;
}

/* 선호차량 추천 뱃지 */

.reserve_section.section_vehicle .section_list .icon_recomand {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 29px;
    overflow: hidden;
    z-index: 2;
}

.reserve_section.section_vehicle .section_list .icon_recomand:after {
    display: block;
    content: "";
    padding-bottom: 100%;
}

.reserve_section.section_vehicle .section_list .icon_recomand img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reserve_section.section_vehicle .section_list .state_empty {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: 1;
}

.reserve_section.section_vehicle .section_list .state_empty span {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.reserve_section.section_payment .reserve_notice_list {
    margin-bottom: 16px;
}

.reserve_section.section_payment .add_info {
    border: 1px solid #EBEBEB;
    background-color: #FFFFFFB2;
    border-radius: 8px;
    padding: 16px;
    color: #5E5E5E;
    font-size: 14px;
}

.reserve_section.section_payment .add_info .title_wrap {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}

.reserve_section.section_payment .add_info .title_wrap .icon_wrap {
    display: flex;
    aspect-ratio: 1/1;
    width: 16px;
}

@media screen and (max-width:1023px) {
    #reserve_container {
        padding: 50px 0;
    }

    #reserve_container .reserve_sect {
        padding: 20px 12px;
    }

    #reserve_container .main_title_wrap .title {
        font-size: 24px;
    }

    #reserve_container .main_title_wrap .title .color {
        top: 2px;
    }
}

@media screen and (max-width:767px) {

    #reserve_container .main_title_wrap {
        margin-bottom: 20px;
    }

    #reserve_container .main_title_wrap .title {
        font-size: 20px;
    }

    #reserve_container .main_title_wrap .title .color {
        top: 0;
        gap: 4px;
    }

    #reserve_container .main_title_wrap .title .color::before {
        width: 18px;
    }

    #reserve_container .main_title_wrap .title br {
        display: block;
    }

    #reserve_container .flex_content .edk_input_wrap {
        width: 100%;
    }

    #reserve_container .flex_content .btn_change {
        transform: rotate(90deg) translate(-50%, 25%);
    }

    .input_stopover_wrap {
        margin-top: 12px;
    }

    #reserve_container .section_title .title_wrap .icon_wrap {
        width: 20px;
    }

    #reserve_container .section_title .title_wrap .title_text {
        font-size: 16px;
    }

    #reserve_container .reserve_sect_area {
        gap: 36px;
    }

    .date_count_wrap {
        padding: 6px 8px;
    }

    #base_wrap #main_wrap>div .section_list .select_item:hover:not(.active) {
        border-color: #222222;
        background-color: #222222;
        color: #FFF;
    }

    #reserve_container .section_title.main_price_area .title_wrap .title_text {
        font-size: 18px;
    }

    .input_btn_wrap,
    .section_verify .input_verify_box {
        flex-direction: column;
    }

    .section_verify .input_btn_wrap {
        gap: 12px;
    }

    .input_btn_wrap .btn_default {
        width: 100%;
        padding: 8px 0;
    }

    .info_area.bank {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
    }

    .info_area.bank p {
        font-size: 14px;
    }

    .info_area.bank .btn_copy {
        position: absolute;
        top: 5px;
        right: 10px;
    }

    #reserve_container .btn_receipt {
        margin-left: auto;
    }

    .edk_file_area {
        flex-direction: column;
    }

    .edk_file_area .edk_custom_file_wrap {
        width: 100%;
    }

    .edk_file_area>button {
        max-width: 100%;
        padding: 8px 0;
    }

    .all_checkbox+.reserve_notice_list {
        padding: 0;
    }

    .list_stay li {
        width: calc((100% - 8px) / 2);
    }

    .list_stay .select_item {
        width: 100%;
    }

    .list_waittime li {
        width: calc((100% - 8px) / 2);
    }

    .list_waittime .select_item {
        width: 100%;
    }

    .list_payment li {
        width: calc((100% - 8px) / 2);
    }

    .list_payment .select_item {
        width: 100%;
    }

    .section_list.list_vehicle li {
        width: calc((100% - 8px) / 2);
    }

    #reserve_container .section_list.list_vehicle .select_item {
        width: 100%;
    }
}