/* pc */

/* ==================================== 주소검색 ==================================== */
.edk_addr_wrap {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    height: 100vh;
    display: none;
}

.edk_addr_wrap.active {
    display: block;
}

.edk_addr_wrap .dim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.3;
}

.edk_addr_wrap .edk_popup_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    width: 100%;
    max-width: 500px;
}

.edk_addr_wrap .edk_popup_box .edk_popup_addr_head {
    padding: 5px;
    text-align: right;
}

.edk_addr_wrap .edk_popup_box .edk_popup_addr_head>i {
    font-size: 30px;
    color: #888;
    cursor: pointer;
}

.edk_addr_wrap .edk_popup_box #edk_popup_addr {
    width: 100%;
}

.edk_addr_wrap .edk_popup_box #edk_popup_addr>div {
    width: 100% !important;
}

/* ==================================== 주소검색 ==================================== */


/* ==================================== 기본 팝업 ==================================== */
.popup_container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 500;
}

.popup_container.active {
    display: block;
}

.popup_container .dim {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 501;
    background-color: #000;
    opacity: 0.3;
}

.popup_container .popup_center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    z-index: 502;
    width: calc(100% - 32px);
    max-height: calc(100% - 100px);
    overflow-y: auto;
}

.popup_container .popup_center.popup_size_xs {
    max-width: 343px;
}

.popup_container .popup_center.popup_size_sm {
    max-width: 556px;
}

.popup_container .popup_center.popup_size_md {
    max-width: 748px;
}

.popup_container .popup_center.popup_size_lg {
    max-width: 940px;
}

.popup_container .popup_center.popup_size_xl {
    max-width: 1116px;
}

.popup_container .popup_center .popup_head {
    padding: 15px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup_container .popup_center .popup_head.head_border {
    border-bottom: 1px solid #E1E1E1;
    padding: 15px 24px;
}

.popup_container .popup_center .popup_head>h2 {
    font-size: 18px;
    font-weight: 700;
}

.popup_container .popup_center .popup_head .btn_close {
    max-width: 24px;
    cursor: pointer;
    display: flex;
}

.popup_container .popup_center .popup_body {
    padding: 16px;
}

.popup_container .popup_center .popup_head.head_border+.popup_body {
    padding: 32px;
}

/* ==================================== 기본 팝업 ==================================== */


/* ==================================== swal ==================================== */
div:where(.swal2-icon) {
    margin: 25px auto 0;
    font-size: 7px;
}

div:where(.swal2-container) div:where(.swal2-popup).custom_swal_popup {
    max-width: 343px;
    min-height: 182px;
}

div:where(.swal2-container) .swal2-html-container {
    margin: 0;
    overflow: visible;
    padding: 25px 20px;
    font-size: 16px;
    text-align: center;
}

/* 버튼 감싼 클래스 */
.swal2-popup .swal2-actions,
div:where(.swal2-container) div:where(.swal2-actions).edk_custom_action {
    margin: 0;
    width: 100%;
    border-top: 1px solid #E1E1E1;
    border-radius: 0;
    padding: 0;
}

.custom_alert_icon {
    max-width: 20px;
    margin-bottom: 18px;
}

.custom_alert_text {
    font-size: 16px;
    text-align: center;
    margin-bottom: 8px;
}

.custom_alert_text:last-child {
    margin-bottom: 0;
}

div:where(.swal2-container) button:where(.swal2-styled).custom_alert_btn {
    background-color: transparent;
    color: black;
    width: 50%;
    border-radius: 0;
    border: none;
    margin: 0;
}

.swal2-styled.custom_alert_btn {
    padding: 17px;
    background-color: #fff;
    border-radius: 0;
    color: black;
}

.swal2-styled.custom_alert_btn:hover {
    background-color: transparent;
    border-color: transparent;
}

/* 두개일때 */
div:where(.swal2-container) button:where(.swal2-styled).custom_alert_btn.btn_default {
    border-right: 1px solid #E1E1E1;
}

/* 확인 버튼 하나만 있을때 */
div:where(.swal2-container) button:where(.swal2-styled).custom_alert_btn.btn_only {
    width: 100%;
}

.swal2-popup .swal2-styled.swal2-confirm:focus {
    box-shadow: none !important;
}

/* ==================================== swal ==================================== */




/* ==================================== 관리자 팝업 ==================================== */


.edk_admin_popup {
    border: 1px solid #ccc;
    position: fixed;
    top: 50%;
    /* left: 50%; */
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: none;
}

.edk_admin_popup.Sm {
    width: 380px;
    aspect-ratio: 1/1;
}

.edk_admin_popup.Md {
    width: 420px;
    aspect-ratio: 1/1.38;
}

.edk_admin_popup.Lg {
    width: 600px;
    aspect-ratio: 1/1;
}

.edk_admin_popup.active {
    display: block;
}

.edk_admin_popup .pop_section,
.edk_admin_popup .pop_img_wrapper {
    width: 100%;
    height: calc(100% - 35px);
}

.edk_admin_popup .pop_section img {
    max-width: 100%;
    object-fit: cover;
}

.edk_admin_popup .pop_img_wrapper>img {
    height: 100%;
    object-fit: cover;
}

.edk_admin_popup .pop_section {
    background-color: white;
    overflow-y: auto;
}

.edk_admin_popup .pop_bottom {
    width: 100%;
    height: 35px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px 10px;
    padding: 0 5px;
    border-top: 1px solid #ccc;
    background-color: #fff;
}


.edk_admin_popup .pop_bottom .option_checke_input {
    display: flex;
    align-items: center;
}

.edk_admin_popup .pop_bottom .option_checke_input .edk_WAI.checkbox+label {
    font-size: 14px;
}


.edk_admin_popup .pop_bottom button {
    background-color: transparent;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}


/* ==================================== 관리자 팝업 ==================================== */
/* 답변 팝업 */
.popup_comment .popup_center {
    border-radius: 6px;
}

.popup_container.popup_comment .popup_center .popup_head {
    padding: 24px 24px 32px;
}

.popup_container.popup_comment .popup_center .popup_head>h2 {
    font-size: 16px;
}

.popup_container.popup_comment .popup_center .popup_body {
    padding: 0 24px 24px;
}

.popup_comment .btn_group {
    margin-top: 32px;
}

.popup_comment textarea.edk_input {
    padding: 12px;
    font-size: 15px;
}

/* 모달 */
.modal_cont {
    visibility: hidden;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 500;
}

.modal_cont.active {
    visibility: visible;
}

.modal_cont.active .modal_center {
    bottom: 0;
}

.modal_cont.active .dim {
    opacity: 1;
}

.modal_cont .dim {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    /* Safari 대응 */
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: all 300ms;
}

.modal_cont .modal_center {
    position: absolute;
    background-color: #fff;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 16px 16px 0 0;
    transition: all 300ms;
}

.modal_size_pc {
    width: 100%;
    max-width: 1000px;
}

.modal_size_mobile {
    width: 100%;
    max-width: 600px;
}

.modal_cont .modal_head {
    padding: 30px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal_cont .modal_head .title_wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.modal_cont .modal_head .title_wrap .icon_wrap {
    display: flex;
    width: 18px;
}

.modal_cont .modal_head h2 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.modal_cont .filter_set_btn {
    border: 1px solid var(--main-color);
    border-radius: 50px;
    background-color: transparent;
    display: flex;
    padding: 7px 11px;
    font-size: 14px;
    font-weight: 500;
    color: var(--main-color);
}

.modal_cont .filter_set_btn.active {
    background-color: #5E5E5E;
    border-color: #5E5E5E;
    color: #fff;
}

.modal_cont .modal_content {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding: 0 24px;
}

.modal_cont .modal_close {
    background-color: transparent;
    display: block;
    width: 100%;
    border-top: 1px solid #ECECEC;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 400;
    color: #5E5E5E;
}

.modal_cont .modal_content .btn_group {
    padding: 32px 0 20px;
    margin: 0;
}

.modal_cont .modal_content .btn_group .btn_default {
    padding: 13px 0;
    font-size: 16px;
    font-weight: 700;
}


/* 출발지 모달 */
.modal_location .location_list {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #E1E1E1;
    border-radius: 4px;
    overflow: hidden;
}

.modal_location .loc_btn {
    width: calc(100% / 3);
    background-color: #fff;
    border-right: 1px solid #E1E1E1;
    border-top: 1px solid #E1E1E1;
    padding: 13px 0;
    font-size: 16px;
    font-weight: 400;
    color: #222;
}

.modal_location .loc_btn.active {
    background-color: #5E5E5E;
    color: #fff;
}

.modal_location .loc_btn:nth-child(3n) {
    border-right: 0;
}

.modal_location .loc_btn:nth-child(-n+3) {
    border-top: 0;
}


/* 출발일 모달 */
.modal_sdttm .datepicker_sdttm {
    border: 1px solid #E1E1E1;
    border-radius: 4px;
}

.modal_sdttm .ui-widget-header {
    border: 0px solid #dddddd;
    background: #fff;
}

.modal_sdttm .ui-datepicker .ui-datepicker-header {
    padding: 10px 0;
    margin-bottom: 20px;
}

.modal_sdttm .ui-state-default,
.modal_sdttm .ui-widget-content .ui-state-default,
.modal_sdttm .ui-widget-header .ui-state-default,
.modal_sdttm .ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border: 0px solid #c5c5c5;
    background-color: transparent;
    font-weight: normal;
    color: #454545;
    text-align: center;
    padding: 5px;

    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 50px;
    margin: 0 auto;
}

.modal_sdttm .ui-datepicker .ui-datepicker-title {
    margin: 0 0em;
    line-height: 16px;
    text-align: center;
    font-size: 20px;
    padding: 0px;
    font-weight: 400;
}

.modal_sdttm .ui-datepicker {
    display: block;
    background-color: #fff;
    border-radius: 4px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    /* margin-bottom: 24px; */
    padding: 0;
    width: 100%;

}

.modal_sdttm .ui-widget.ui-widget-content {
    border: 0px solid #eee;
}

.modal_sdttm #datepicker:focus>.ui-datepicker {
    display: block;
}

.modal_sdttm .ui-datepicker-prev,
.modal_sdttm .ui-datepicker-next {
    cursor: pointer;
}

.modal_sdttm .ui-datepicker .ui-datepicker-prev,
.modal_sdttm .ui-datepicker .ui-datepicker-next {
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    overflow: hidden;
}

.modal_sdttm .ui-datepicker .ui-datepicker-prev:after,
.modal_sdttm .ui-datepicker .ui-datepicker-next:after {
    display: block;
    content: "";
    padding-bottom: 100%;
}

.modal_sdttm .ui-datepicker .ui-datepicker-prev .ui-icon,
.modal_sdttm .ui-datepicker .ui-datepicker-next .ui-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    margin: 0;
}

.modal_sdttm .ui-datepicker .ui-datepicker-prev {
    left: calc(50% - 100px);
}

.modal_sdttm .ui-datepicker .ui-datepicker-next {
    right: calc(50% - 100px);
}

.modal_sdttm .ui-datepicker-next {
    float: right;
}

.modal_sdttm .ui-datepicker-next .ui-icon {
    background-image: url(/static/common/img/icon_select_down.png);
    transform: rotate(-90deg) translate(-4px, -4px)
}

.modal_sdttm .ui-datepicker-prev .ui-icon {
    background-image: url(/static/common/img/icon_select_down.png);
    transform: rotate(90deg) translate(4px, -3px);
}

.modal_sdttm .ui-state-disabled {
    cursor: auto;
    color: hsla(0, 0%, 80%, 1);
}

.modal_sdttm .ui-datepicker-title {
    text-align: center;
    padding: 10px;
    font-weight: 100;
    font-size: 20px;
}

.modal_sdttm .ui-datepicker-calendar {
    width: 100%;
}

.modal_sdttm .ui-datepicker table {
    /* border: 1px solid #E1E1E1; */
    margin: 0;
}

/* .modal_sdttm .ui-datepicker-calendar>thead {
    border-bottom: 1px solid #E1E1E1;
} */

.modal_sdttm .ui-datepicker-calendar>thead>tr>th {
    font-size: 16px !important;
    padding: 5px;
    font-weight: 400;
}

.modal_sdttm .ui-datepicker-calendar>tbody>tr>td>a {
    color: #000;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-decoration: none;

}

.modal_sdttm .ui-datepicker-calendar>tbody>tr>.ui-state-disabled:hover {
    cursor: auto;
    background-color: #fff;
}

.modal_sdttm .ui-datepicker-calendar>tbody>tr>td {
    border-radius: 100%;
    width: 44px;
    height: 30px;
    cursor: pointer;
    padding: 5px;
    font-weight: 100;
    text-align: center;
    /* font-size: 12px; */
}

.modal_sdttm .ui-datepicker-calendar>tbody>tr>td:hover {
    background-color: transparent;
    opacity: 0.6;
}

.modal_sdttm .ui-widget-header .ui-state-hover,
.modal_sdttm .ui-state-focus,
.modal_sdttm .ui-widget-content .ui-state-focus,
.modal_sdttm .ui-widget-header .ui-state-focus,
.modal_sdttm .ui-button:hover,
.modal_sdttm .ui-button:focus {
    border: 0px solid #cccccc;
    background-color: transparent;
    font-weight: normal;
    color: #2b2b2b;
    padding: 5px;
}

.modal_sdttm .ui-widget-header .ui-icon {
    background-size: cover;
}

.modal_sdttm .ui-icon-circle-triangle-e {
    background-position: left top;
    background-size: 36px;
}

.modal_sdttm .ui-icon-circle-triangle-w {
    background-position: -0px -0px;
    background-size: 36px;
}

.modal_sdttm .ui-datepicker-calendar>tbody>tr>td:first-child a {
    color: red !important;
}

.modal_sdttm .ui-datepicker-calendar>tbody>tr>td:last-child a {
    color: #0099ff !important;
}

.modal_sdttm .ui-datepicker-calendar>thead>tr>th:first-child {
    color: red !important;
}

.modal_sdttm .ui-datepicker-calendar>thead>tr>th:last-child {
    color: #0099ff !important;
}


.modal_sdttm .ui-state-highlight,
.modal_sdttm .ui-widget-content .ui-state-highlight,
.modal_sdttm .ui-widget-header .ui-state-highlight {
    background-color: transparent;
    border: 0;
}

.modal_sdttm .ui-datepicker-today .ui-state-default {
    background-color: #f000001a;
    border-radius: 50%;
}

.modal_sdttm .ui-state-highlight .ui-state-default,
.modal_sdttm .ui-widget-content .ui-state-highlight .ui-state-default,
.modal_sdttm .ui-widget-header .ui-state-highlight .ui-state-default {
    background-color: #00AEF01A;
    border-radius: 50%;
}



.modal_sdttm .inp {
    padding: 10px 10px;
    background-color: #f1f1f1;
    border-radius: 4px;
    border: 0px;
}

.modal_sdttm .inp:focus {
    outline: none;
    background-color: #eee;
}


/* 인원수 모달 */
.modal_count .edk_input_wrap .input_flex_area {
    gap: 4px;
    flex-wrap: nowrap;
}

.modal_count .input_relate {
    position: relative;
    flex: 1 auto;
}

.modal_count .edk_input.input_border {
    border-radius: 4px;
}

.modal_count .edk_input_wrap .inter_text {
    align-items: flex-end;
    margin-bottom: 14px;
}

.modal_count .float_text {
    position: absolute;
    bottom: 15px;
    right: 12px;
    font-size: 15px;
    font-weight: 400;
    color: #5E5E5E;
}

/* 견적방식 */
.modal_method .filter_method_btn:not(:last-child) {
    margin-bottom: 8px;
}

.modal_method .filter_method_btn {
    border: 1px solid #9E9E9E;
    background-color: #fff;
    border-radius: 4px;
    padding: 13px 0;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    color: var(--main-color);
}

.modal_method .filter_method_btn.active {
    border-color: #5E5E5E;
    background-color: #5E5E5E;
    color: #fff;
}

/* 정찰제 견적 참여 */
.modal_request .sub_text {
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 400;
    color: #5E5E5E;
}

.modal_request .expect_wrap {
    border-radius: 12px;
    background-color: #F8F8F8;
    margin-bottom: 4px;
}

.modal_request .expect_wrap .title_wrap {
    border-bottom: 1px solid #E1E1E1;
    padding: 12px 16px;
}

.modal_request .expect_wrap .title_wrap .title {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.modal_request dl:not(:last-child) {
    margin-bottom: 8px;
}

.modal_request .expect_body {
    padding: 12px 16px;
}

.modal_request .result_wrap {
    border-radius: 6px;
    background-color: #FFEEF0;
    padding: 16px;
}

.modal_request dl {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal_request dt {
    font-size: 14px;
    font-weight: 500;
    color: #5E5E5E;
}

.modal_request dt strong {
    font-weight: 700;
    color: #222;
}

.modal_request dd {
    font-size: 14px;
    font-weight: 400;
    color: #222;
}

.modal_request dd b {
    font-size: 16px;
}

.modal_request dd strong.red {
    font-size: 16px;
    font-weight: 700;
    color: var(--error-color);
}

/* 견적서 견적참여 modal */
.modal_request .driving_check_wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal_request .driving_check_wrap .title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.modal_request .driving_check_wrap .sub_title {
    color: #5E5E5E;
    font-size: 12px;
}

.modal_request .driving_check_wrap .all_checkbox_area {
    border-radius: 6px;
    background-color: #F8F8F8;
    padding: 12px 8px;
}

.modal_request .all_checkbox_area .edk_WAI.checkbox.driving_terms+label {
    font-size: 14px;
    font-weight: 500;
}

.modal_request .driving_check_wrap .driving_checkbox_area {
    padding: 0 12px;
    display: flex;
    gap: 12px;
    flex-direction: column;
}


/* 운행취소 요청 */
.modal_cancel .content_text {
    color: #5E5E5E;
    font-size: 14px;
}

/* ================== 회원탈퇴팝업 ================== */
.popup_container.popup_dropout .popup_center {
    border-radius: 6px;
}

.popup_container.popup_dropout .popup_center .popup_body {
    padding: 32px 24px;
}

.popup_dropout .title_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.popup_dropout .title_wrap .title {
    font-size: 20px;
    font-weight: 700;
}

.popup_dropout .title_wrap .title strong {
    color: var(--error-color);
}

.popup_dropout .title_wrap .sub_title {
    font-size: 16px;
    text-align: center;
    color: #5E5E5E;
}

.popup_dropout .list_wrap {
    padding: 12px;
    background-color: #F8F8F8;
    border-radius: 6px;
}

.popup_dropout .alert_list {
    color: #5E5E5E;
}

.popup_dropout .btn_group {
    margin-top: 32px;
}

.popup_dropout .btn_default.full {
    font-size: 18px;
    font-weight: 500;
    padding: 11px 0;
}


/* 새 이미지뷰어 */
.popup_container.popup_new_viewer {
    padding: 0px 12px 24px;
}

.popup_container.popup_new_viewer .dim {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.8);
}

.popup_container.popup_new_viewer .popup_center {
    background-color: transparent;
    position: relative;
    top: 0;
    left: 0;
    transform: initial;
    width: 100%;
    height: 100%;
    max-height: initial;
    overflow-y: hidden;
}

.popup_container.popup_new_viewer .popup_center .popup_head {
    padding: 43px 0;
    justify-content: center;
    position: relative;
}

.popup_container.popup_new_viewer .popup_center .popup_head>h2 {
    font-size: 16px;
    color: #fff;
}

.popup_container.popup_new_viewer .popup_center .popup_head .btn_close {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: #fff;
    font-size: 24px;
    font-weight: 500;
}

.popup_container.popup_new_viewer .popup_content {
    height: calc(100% - 66px);
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup_container.popup_new_viewer .popup_content>div {
    display: flex;
    width: 100%;
    height: 100%;
}

.popup_container.popup_new_viewer .popup_content>div img {
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* tablet */
@media screen and (max-width: 1023px) {}

/* mobile */
@media screen and (max-width: 767px) {
    .popup_container .popup_center .popup_head.head_border+.popup_body {
        padding: 24px;
    }

    .edk_admin_popup {
        transform: translate(0, -55%);
    }

    .edk_admin_popup.Sm {
        width: calc(100% - 48px);
        max-width: 380px;
    }

    .edk_admin_popup.Md {
        width: calc(100% - 32px);
    }

    .edk_admin_popup.Lg {
        width: calc(100% - 16px);
    }

    /* ================== 회원탈퇴팝업 ================== */

    .popup_dropout .view_sect .title_wrap {
        margin-bottom: 24px;
    }

    .popup_dropout .title_wrap .title {
        font-size: 18px;
    }

    .popup_dropout .view_sect .title_wrap .sub_title {
        font-size: 14px;
    }

    .popup_dropout .btn_default.full {
        font-size: 16px;
        padding: 12px 0;
    }
}