@charset "utf-8";

/* 로그인 */
.login_bg {
    background-color: #242734;
}

.login_box {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 50px;
    width: calc(100% - 40px);
    max-width: 398px;
    height: auto;
    max-height: 509px;
}

/* .logo_img { margin-bottom: 40px; width: 100%; max-width: 298px; height: 70px; background-color: var(--line);} */
.logo_img {
    width: 100%;
    max-width: 298px;
    height: 120px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 10px;
}

.logo_img img {
    width: 50%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.login_pw {
    position: relative;
}

.login_pw img {
    position: absolute;

    right: 28px;
    top: 50%;

    width: 20px;
    height: 20px;

    transform: translateY(-50%);

}

.register_pw {
    position: relative;
}

.register_pw img {
    position: absolute;

    right: 20px;
    top: 70%;

    width: 20px;
    height: 20px;

    transform: translateY(-50%);

}

.join_btn {
    width: 100%;
    height: 28px;

    margin-top: 14px;

    border: 1px solid #6d6d6d;
    border-radius: 12px;

    background: #6d6d6d;
    color: #fff;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;

    transition:
        background .18s,
        border-color .18s,
        transform .12s,
        box-shadow .18s;
}

.id_pw_link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
}

.id_pw_link p:first-child::aftlogo_boxer {
    content: "|";
    padding-left: 10px;
    color: #768597;
}

.id_pw_link p a {
    color: #768597;
}


table {
    width: 100%;
}

tr {
    border-bottom: 1px solid var(--line);
}

th {
    padding: 20px 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

td {
    padding: 20px 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.list_scroll {
    overflow-x: auto;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;

    -webkit-overflow-scrolling: touch;
}

.search_btn_box {
    padding-bottom: 20px;
}

.search_btn_box form {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* SEARCH */
.search_container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 385px;
}

.user .search_container {
    width: 500px;
}

.user .select_box {
    display: flex;
}

.search_container select {
    margin-left: 10px;
    padding: 10px;
    width: 130px;
    height: 41px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--line);
    font-family: var(--font-sans);
    font-weight: 500;
}

.search_box input {
    font-family: var(--font-sans);
    font-weight: 500;
}

.btn_table {
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    height: 32px;
    border-radius: 4px;
    background-color: #60a5fa;
    padding: 0 12px;
    color: white;
    font-weight: 500;
}

.btn_table.sample {
    margin-left: auto;
    margin-right: auto;
}

.btn_table.cancel {
    background-color: #FF646C;
}

@media all and (max-width: 700px) {
    .search_btn_box {
        flex-direction: column;
    }
}

/* 회원정보 */
.content_detail {
    max-width: 961px;
    margin: auto;
}

.user_info_box {
    display: flex;
    flex-wrap: wrap;
}

.user_info_box>li {
    flex-basis: 50%;
}

.input_box>li p:first-child,
.user_info_box>li p:first-child {
    font-size: 14px;
    font-weight: 700;
}

.user_info_box>li p:last-child {
    font-size: 14px;
    font-weight: 500;
}

/* 회원정보 수정 */
.user_info_box select,
.input_box select,
.input_box input,
.user_info_box input {
    padding: 10px 16px;
    width: 100%;
    font-weight: 500;
    border-radius: 10px;
    font-family: var(--font-sans);
    border: 1px solid var(--line);
    background-color: #ffffff;
}

.input_box input.readonly,
.user_info_box input.readonly {
    background-color: #f7f7f8;
    color: #000;
}

.pw_change,
.pin_change,
.rec_change,
.spon_change,
.select_change {
    flex: none;
    margin-left: 10px;
}

.readonly {
    background-color: #f7f7f8;
    color: #000;
}

/* POPUP */
.modi_popup,
.del_popup,
.edit_popup,
.pin_popup,
.pw_popup,
.rec_popup,
.spon_popup {
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    width: 100%;
    height: 100vh;
}

.modi_popup.active,
.del_popup.active,
.edit_popup.active,
.pin_popup.active,
.pw_popup.active,
.rec_popup.active,
.spon_popup.active {
    display: block;
}

.modi_popup .card,
.del_popup .card,
.edit_popup .card,
.pin_popup .card,
.pw_popup .card,
.rec_popup .card,
.spon_popup .card {
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
    max-width: 520px;
    min-width: 350px;
    height: auto;
    border: 1px solid var(--line);
}

.popup_title {
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
}

.popup_txt {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.popup_txt .user_info_box {
    flex-direction: column;
}

.popup_btn {
    align-self: flex-end;
}

.popup_btn button:last-child {
    margin-left: 8px;
}

/* NOTICE_DETAILS */
.txt_content_detail {
    max-width: 1362px;
    margin: auto;
}

.content_title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.content_title p:first-child {
    font-size: 16px;
    font-weight: 700;
}

.content_title p:last-child {
    font-size: 14px;
    font-weight: 500;
    margin-left: 38px;
    flex: none;
}

.content_txt {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content_txt p {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
}

.content_txt img {
    width: 50%;
    margin: 20px 0;
}

.input_box textarea {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    width: 100%;
    height: 445px;
    resize: none;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
}

.input_box textarea::placeholder {
    font-family: var(--font-sans);
    font-weight: 500;
}

.input_box textarea::-webkit-scrollbar {
    width: 4px;
}

.input_box textarea::-webkit-scrollbar-thumb {
    background-color: var(--main);
}

.input_box textarea::-webkit-scrollbar-track {
    background-color: var(--line);
}

@media all and (max-width: 500px) {
    .content_title {
        flex-direction: column;
    }

    .content_txt img {
        width: 100%;
    }

    .content_title p:first-child {
        width: 100%;
        text-align: left;
    }
}

@media all and (max-width: 650px) {

    /* 회원정보수정 */
    .user_info_box {
        flex-direction: column;
    }

    .user_info_box>li {
        padding: 0 0 30px 0 !important;
    }

}

.logo_box_title img {
    max-width: 100%;
    display: block;
}


@media screen and (max-width: 1200px) {
    .point_history .search_btn_box form {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }

    .search_box {
        margin-left: 0;
    }
}

@media all and (max-width: 992px) {

    .user .search_btn_box form {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }

    .search_box {
        margin-left: 0;
    }

}


@media all and (max-width: 400px) {
    .date_box .calendar_box input {
        width: auto;
        min-width: 0;
    }
}

/* 23/09/27 */
/* select 태그 설정 수정 */
select.design {
    width: 100%;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #a2acbd;
    background-color: #fff;
    font-size: 14px;
    font-weight: 400;
}

label:has(select.design) {
    position: relative;
}

label:has(select.design)::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--black);
    border-right: 2px solid var(--black);
    position: absolute;
    top: 37%;
    right: 20px;
    transform: translateY(-50%) rotate(45deg);
}

/* sweet_alert */
.swal2-html-container {
    margin-top: 14px !important;
}

.title_sweet {
    font-size: 22px !important;
    color: #000 !important;
}

.desc_sweet {
    font-size: 16px !important;
    font-weight: 400;
    color: #000 !important;
}

.swal2-styled.swal2-confirm {
    width: 100% !important;
    height: 50px !important;
    background-color: var(--main) !important;
    font-size: 14px;
    font-weight: 500;
    color: #fff !important;
}

.swal2-styled.swal2-cancel {
    width: 100% !important;
    height: 50px !important;
    background-color: #999 !important;
    font-size: 14px;
    font-weight: 500;
}

.swal2-actions {
    width: 100% !important;
    padding: 0 20px !important;
    flex-wrap: unset !important;
}

/* 23/10/04 */
/* purchase_history 기간설정*/
.calendar_box input {
    padding: 10px;
    min-height: 40px;
    border-radius: 8px;
    border: 1px solid var(--line);
}

body.hidden {
    overflow: hidden;
}
