@charset "utf-8";
:root {
    --theme: #ff4000;
    background: #f6f6f6;
    font: 400 10px/1 Mont, Pre;
    font-variation-settings: "wght" 400;
}

/* common */
html,
body {
    height: 100%;
    overflow: hidden;
    touch-action: manipulation;
}
#mypage {
    height: 100%;
    font-size: 1.6rem;
    overflow-y: auto;
}
.main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 1460px;
    min-height: calc(100% - 11.4rem);
    padding: 0 3rem;
    margin: 12px auto;
}
.inner {
    max-width: 1460px;
    padding: 0 3rem;
    margin: 0 auto;
}
.f-300 {
    font-variation-settings: "wght" 300;
}
.f-500 {
    font-variation-settings: "wght" 500;
}
.f-600 {
    font-variation-settings: "wght" 600;
}
.f-700 {
    font-variation-settings: "wght" 700;
}

.check {
    position: relative;
    display: block;
    width: 15px;
    height: 15px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 2px;
    cursor: pointer;
}
.check::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 4px;
    width: 7px;
    height: 4px;
    border: solid #fff;
    border-width: 2px 2px 0 0;
    transform: rotate(135deg);
}
input:checked + .check {
    background-color: var(--theme);
    border-color: var(--theme);
}

.num {
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding: 0 1px;
    color: #fff;
    background: var(--theme);
}

.badge {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    margin-left: 5px;
    border-radius: 10px;
    font-size: 11px;
    background: linear-gradient(
        90deg,
        rgb(15, 19, 26) 0%,
        rgb(64, 73, 94) 100%
    );
}
.badge.regular {
    color: #85e9ff;
}
.badge span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    overflow: hidden;
}
.switch {
    position: relative;
    width: 40px;
    height: 20px;
    border-radius: 20px;
    background: #dcdfe6;
    cursor: pointer;
    transition: background-color 0.2s;
}
.switch .ball {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
input:checked + .switch {
    background: var(--theme);
}
input:checked + .switch .ball {
    transform: translateX(20px);
}

.btn_more {
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    color: #999;
}
.btn_more::after {
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    border: solid #999;
    border-width: 2px 2px 0 0;
    border-radius: 0.2rem;
    transform: rotate(45deg);
    margin-left: 0.3rem;
}

.dropdown {
    position: relative;
    height: var(--h);
    border: 1px solid #dcdfe6;
    color: #606266;
    background: #fff;
    border-radius: 4px;
    padding: 0 15px;
    cursor: pointer;
}
.dropdown::after {
    content: "";
    position: absolute;
    right: 5px;
    width: 14px;
    height: 14px;
    background: url(/images/mypage/common/arrow-down.png) no-repeat 50% / 100%;
}
.dropdown.active {
    border-color: var(--theme);
}
.dropdown.active::after {
    transform: rotate(0.5turn);
}
.dropdown .placeholder {
    line-height: var(--h, 30px);
    color: #c0c4cc;
}
.dropdown .placeholder.selected {
    color: #606266;
}
.dropdown .select {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 5px 0;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    z-index: 99;
    cursor: default;
}
.dropdown .select::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 10px;
    border-bottom: 6px solid #fff;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}
.dropdown .select::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 9px;
    border-bottom: 7px solid #dcdfe6;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
}
.dropdown .select .option {
    display: block;
    padding: 5px 15px;
    cursor: pointer;
}
.dropdown .select .option:hover {
    background: #f5f5f5;
}
.dropdown .select input:checked + .option {
    color: var(--theme);
    font-variation-settings: "wght" 700;
}
.dropdown .add_list button {
    width: 100%;
    padding: 5px 15px;
    text-align: center;
    color: var(--theme);
}

/****** datepick ******/
.daterangepicker {
    position: absolute;
    display: none;
    background-color: #fff;
    border-radius: 0.4rem;
    border: 1px solid #ddd;
    width: auto;
    max-width: none;
    margin-top: 0.7rem;
    z-index: 98;
    font-family: "Mont", "NotoSansKR";
}
.daterangepicker:before {
    content: "";
    position: absolute;
    top: -0.7rem;
    right: 10rem;
    border-right: 0.7rem solid transparent;
    border-left: 0.7rem solid transparent;
    border-bottom: 0.7rem solid #ccc;
}
.daterangepicker:after {
    content: "";
    position: absolute;
    top: -0.6rem;
    right: 10.1rem;
    border-right: 0.6rem solid transparent;
    border-bottom: 0.6rem solid #fff;
    border-left: 0.6rem solid transparent;
}
.drp-calendar {
    padding: 0.8rem;
}
.drp-calendar.left {
    float: left;
}
.drp-calendar.right {
    float: right;
}
.daterangepicker .drp-buttons {
    display: none;
}
.daterangepicker .table-condensed {
    width: 100%;
    text-align: center;
}
.daterangepicker th,
.daterangepicker td {
    width: 3.6rem;
    height: 2.8rem;
    font-size: 1.4rem;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 0.4rem;
}
.daterangepicker .calendar-table .next span,
.daterangepicker .calendar-table .prev span {
    border: solid black;
    border-width: 0 2px 2px 0;
    border-radius: 0;
    display: inline-block;
    padding: 0.3rem;
}
.daterangepicker .calendar-table .next span {
    transform: rotate(-45deg);
}
.daterangepicker .calendar-table .prev span {
    transform: rotate(135deg);
}
.daterangepicker td.disabled {
    color: #999;
    cursor: not-allowed;
    text-decoration: line-through;
}
.daterangepicker td.off {
    color: #999;
}
.daterangepicker td.available:hover,
.daterangepicker th.available:hover {
    background-color: #eee;
    border-color: transparent;
    color: inherit;
}
.daterangepicker td.in-range {
    background: #f2f6fc;
}
.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: var(--theme);
    border-color: transparent;
    color: #fff;
}

/* 팝업공통 */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 14px;
    overflow-y: auto;
    z-index: 99;
}
.popup .pop_overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100%;
    padding: 50px 18px;
    pointer-events: none;
}
.popup .pop_frame {
    position: relative;
    width: 100%;
    padding: 20px;
    background: #fff;
    pointer-events: auto;
}
.popup .dimm {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}
.pop_title {
    color: #303133;
    font-size: 18px;
    line-height: 24px;
    padding-bottom: 30px;
}
.pop_list > li {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.pop_list .key {
    display: flex;
    justify-content: flex-end;
    color: #606266;
    padding-top: 9px;
}
.popup .key .require {
    color: var(--theme);
    margin-right: 3px;
}
.popup .value {
    position: relative;
}
.popup .value input,
.popup .value select {
    border: 1px solid #dcdfe6;
    color: #606266;
    background: #fff;
    border-radius: 4px;
    padding: 0 15px;
}
.pop_list .validate {
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    color: var(--theme);
    font-size: 12px;
    opacity: 0;
}
.popup input:disabled {
    background-color: #f5f5f5;
    border-color: #e4e7ed;
    color: #c0c4cc;
    cursor: not-allowed;
}
.pop_btns {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px 0 20px;
}
.pop_btns button {
    padding: 10px 25px;
    font-size: 12px;
    color: #606266;
    border: 1px solid #dcdfe6;
    border-radius: 3px;
}
.pop_btns .btn_cancel {
    background: #fff;
}
.pop_btns .btn_submit {
    background: var(--theme);
    border-color: var(--theme);
    color: #fff;
}
.popup .btn_close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
}
.popup .value .cernum {
    padding-right: 140px;
}
.popup .btn_cernum {
    position: absolute;
    top: 6px;
    right: 15px;
    height: 28px;
    color: #fff;
    font-size: 12px;
    padding: 2px 15px;
    background: var(--theme);
    border-radius: 3px;
    white-space: nowrap;
}

/* tooltip */
.tooltip {
    display: none;
    position: absolute;
    padding: 0 0 8px;
    z-index: 999;
}
.tooltip.is-top {
    padding: 8px 0 0;
}
.tooltip.type-over:hover,
.tooltip.type-over:focus {
    display: block !important;
}
.tooltip-wrap {
    position: relative;
    min-width: 150px;
    width: 100%;
    background: #fff;
    border: 1px solid #ebeef5;
    border-radius: 4px;
    padding: 12px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}
.tooltip .tail {
    position: absolute;
}
.tooltip.vertical .tail {
    top: auto;
    bottom: -5px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
    border-bottom: none;
}
.tooltip.is-top .tail {
    bottom: auto;
    top: -5px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    border-top: none;
}

.acc-control {
    color: var(--theme);
}
.acc-control .tooltip-wrap {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 12px;
}
.acc-control .ico {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: pink;
    margin-right: 6px;
}
.acc-control .divider {
    width: 1px;
    height: 12px;
    margin: 0 6px;
    background: var(--theme);
}

@media (max-width: 1460px) {
    :root {
        font-size: 9px;
    }
}
@media (max-width: 1150px) {
    :root {
        font-size: 0.75vw;
    }
}
@media (max-width: 850px) {
    :root {
        font-size: 12px;
    }

    .main {
        padding: 0 1.8rem;
    }
    .inner {
        padding: 0 1.8rem;
    }

    .num {
        font-size: 1.1rem;
    }

    .drp-calendar.left,
    .drp-calendar.right {
        float: none;
    }
    .daterangepicker th,
    .daterangepicker td {
        width: 3rem;
        height: 2.2rem;
        font-size: 1.1rem;
        vertical-align: middle;
        cursor: pointer;
        border-radius: 0.4rem;
    }
}
@media (max-width: 550px) {
    :root {
        font-size: 11px;
    }
}
