.upload_input {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

.cursor_pointer {
    cursor: pointer;
}

.sr_only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* show, hide */
.hide {
    display: none !important;
}
.show {
    display: block !important;
}

/* width, height */
.w10p {
    width: 10%;
}
.w20p {
    width: 20%;
}
.w30p {
    width: 30%;
}
.w40p {
    width: 40%;
}
.w50p {
    width: 50%;
}
.w60p {
    width: 60%;
}
.w70p {
    width: 70%;
}
.w80p {
    width: 80%;
}
.w90p {
    width: 90%;
}
.w100p {
    width: 100%;
}
.h10p {
    height: 10%;
}
.h20p {
    height: 20%;
}
.h30p {
    height: 30%;
}
.h40p {
    height: 40%;
}
.h50p {
    height: 50%;
}
.h60p {
    height: 60%;
}
.h70p {
    height: 70%;
}
.h80p {
    height: 80%;
}
.h90p {
    height: 90%;
}
.h100p {
    height: 100%;
}

/* margin, padding */
.m05 {
    margin: 5px;
}
.m10 {
    margin: 10px;
}
.m15 {
    margin: 15px;
}
.m20 {
    margin: 20px;
}
.m25 {
    margin: 25px;
}
.m30 {
    margin: 30px;
}
.mt05 {
    margin-top: 5px;
}
.mt10 {
    margin-top: 10px;
}
.mt15 {
    margin-top: 15px;
}
.mt20 {
    margin-top: 20px;
}
.mt25 {
    margin-top: 25px;
}
.mt30 {
    margin-top: 30px;
}
.mb05 {
    margin-bottom: 5px;
}
.mb10 {
    margin-bottom: 10px;
}
.mb15 {
    margin-bottom: 15px;
}
.mb20 {
    margin-bottom: 20px;
}
.mb25 {
    margin-bottom: 25px;
}
.mb30 {
    margin-bottom: 30px;
}
.ml05 {
    margin-left: 5px;
}
.ml10 {
    margin-left: 10px;
}
.ml15 {
    margin-left: 15px;
}
.ml20 {
    margin-left: 20px;
}
.ml25 {
    margin-left: 25px;
}
.ml30 {
    margin-left: 30px;
}
.mr05 {
    margin-right: 5px;
}
.mr10 {
    margin-right: 10px;
}
.mr15 {
    margin-right: 15px;
}
.mr20 {
    margin-right: 20px;
}
.mr25 {
    margin-right: 25px;
}
.mr30 {
    margin-right: 30px;
}
.p05 {
    padding: 5px;
}
.p10 {
    padding: 10px;
}
.p15 {
    padding: 15px;
}
.p20 {
    padding: 20px;
}
.p25 {
    padding: 25px;
}
.p30 {
    padding: 30px;
}
.pt05 {
    padding-top: 5px;
}
.pt10 {
    padding-top: 10px;
}
.pt15 {
    padding-top: 15px;
}
.pt20 {
    padding-top: 20px;
}
.pt25 {
    padding-top: 25px;
}
.pt30 {
    padding-top: 30px;
}
.pb05 {
    padding-bottom: 5px;
}
.pb10 {
    padding-bottom: 10px;
}
.pb15 {
    padding-bottom: 15px;
}
.pb20 {
    padding-bottom: 20px;
}
.pb25 {
    padding-bottom: 25px;
}
.pb30 {
    padding-bottom: 30px;
}
.pl05 {
    padding-left: 5px;
}
.pl10 {
    padding-left: 10px;
}
.pl15 {
    padding-left: 15px;
}
.pl20 {
    padding-left: 20px;
}
.pl25 {
    padding-left: 25px;
}
.pl30 {
    padding-left: 30px;
}
.pr05 {
    padding-right: 5px;
}
.pr10 {
    padding-right: 10px;
}
.pr15 {
    padding-right: 15px;
}
.pr20 {
    padding-right: 20px;
}
.pr25 {
    padding-right: 25px;
}
.pr30 {
    padding-right: 30px;
}

/* flex */
.align_s {
    display: flex;
    align-items: flex-start;
}
.align_c {
    display: flex;
    align-items: center;
}
.align_e {
    display: flex;
    align-items: flex-end;
}
.justify_s {
    display: flex;
    justify-content: flex-start;
}
.justify_c {
    display: flex;
    justify-content: center;
}
.justify_e {
    display: flex;
    justify-content: flex-end;
}
.justify_sb {
    display: flex;
    justify-content: space-between;
}
.gap4 {
    gap: 4px;
}
.gap6 {
    gap: 6px;
}
.gap8 {
    gap: 8px;
}
.gap10 {
    gap: 10px;
}
.gap12 {
    gap: 12px;
}
.gap20 {
    gap: 20px;
}

/* pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.pagination button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    font-size: 15px;
    color: #666;
    background: #fff;
    border: 1px solid #ededed;
}
.pagination button i {
    font-size: 12px;
    color: #6f767c;
}
.pagination button.on {
    background: #666;
    border: 1px solid #666;
    color: #fff;
    font-weight: 700;
}
.pagination button.disabled {
    color: #bbb;
    cursor: default;
}
.pagination button.disabled i {
    color: #bbb;
    cursor: default;
}

.pagination_nav {
    margin-top: 28px;
}

.pagination_list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination_list li {
    margin: 0;
    padding: 0;
}

.pagination_link,
.pagination_arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.14px;
}

.pagination_link.is_active {
    color: #fff;
    background: #3154d4;
    font-weight: 600;
}

.pagination_arrow {
    position: relative;
    padding: 0;
}

.pagination_arrow::before {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
}

.pagination_prev::before {
    transform: rotate(-135deg);
}

.pagination_next::before {
    transform: rotate(45deg);
}

.pagination_arrow.is_disabled {
    color: #c9c9c9;
    cursor: default;
    pointer-events: none;
}

/* badge */
.badge {
    min-width: 90px;
    width: fit-content;
    padding: 0 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 400;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.badge_blue {
    background: #dce6ff;
    color: #003cc7;
}
.badge_gray {
    background: #eee;
    color: #666;
}
.badge_dark_gray {
    background: #d9d9d9;
    color: #444;
}
.badge_green {
    background: #d9fbd0;
    color: #1c6c09;
}
.badge_sky {
    background: #c7ebff;
    color: #005585;
}
.badge_yellow {
    background: #ffefca;
    color: #bc3803;
}
.badge_red {
    background: #ffe0db;
    color: #b81800;
}
.badge_purple {
    background: #eed4f4;
    color: #8123a3;
}
.badge_orange {
    background: #ffe8d6;
    color: #b84c00;
}
.badge_pink {
    background: #ffd6eb;
    color: #a3005e;
}
.badge_teal {
    background: #ccf5f0;
    color: #006b5e;
}
.badge_brown {
    background: #f2e3d5;
    color: #7a3b00;
}
.badge_rose {
    background: #ffd6d6;
    color: #b80000;
}

/* button */
.btn {
    min-width: 120px;
    width: fit-content;
    height: 44px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
}
.btn_md {
    min-width: 105px;
    height: 40px;
}
.btn_sm {
    min-width: 90px;
    height: 36px;
    font-size: 14px;
}
.btn_square {
    min-width: 40px;
}
.btn_w_80 {
    min-width: 80px;
}
.btn_h_40 {
    height: 40px;
}
.btn:disabled {
    opacity: 0.5;
    cursor: inherit;
}
.btn_blue {
    background: #257ff4;
    color: #fff;
}
.btn_gray {
    background: #cdd2da;
    color: #fff;
}
.btn_green {
    background: #1a9058;
    color: #fff;
}
.btn_sky {
    background: #4ec0e9;
    color: #fff;
}
.btn_yellow {
    background: #ffc42f;
    color: #fff;
}
.btn_red {
    background: #ea394d;
    color: #fff;
}
.btn_light {
    background: #fff;
    border: 1px solid #ccc;
    color: #444;
}
.btn_dark {
    background: #555;
    color: #fff;
}
.btn_outline_dark {
    background: #fff;
    border: 1px solid #555;
    color: #555;
}
.btn_outline_blue {
    background: #fff;
    border: 1px solid #257ff4;
    color: #257ff4;
}
.btn_outline_gray {
    background: #fff;
    border: 1px solid #cdd2da;
    color: #cdd2da;
}
.btn_outline_green {
    background: #fff;
    border: 1px solid #1a9058;
    color: #1a9058;
}
.btn_outline_sky {
    background: #fff;
    border: 1px solid #4ec0e9;
    color: #4ec0e9;
}
.btn_outline_yellow {
    background: #fff;
    border: 1px solid #ffc42f;
    color: #ffc42f;
}
.btn_outline_red {
    background: #fff;
    border: 1px solid #ea394d;
    color: #ea394d;
}

/* text color */
.text_blue {
    color: #257ff4;
}
.text_dark {
    color: #222;
}
.text_gray {
    color: #666;
}
.text_light {
    color: #999;
}
.text_green {
    color: #1a9058;
}
.text_sky {
    color: #4ec0e9;
}
.text_yellow {
    color: #ffc42f;
}
.text_red {
    color: #ea394d;
}
.text_purple {
    color: #8123a3;
}

/* text align */
.text_left {
    text-align: left;
}
.text_center {
    text-align: center;
}
.text_right {
    text-align: right;
}

/* text size */
.text_xs {
    font-size: 13px;
}
.text_sm {
    font-size: 14px;
}
.text_md {
    font-size: 16px;
}
.text_lg {
    font-size: 18px;
}

/* text weight */
.text_medium {
    font-weight: 500;
}
.text_semibold {
    font-weight: 600;
}
.text_bold {
    font-weight: 700;
}

/* list table 텍스트 더보기 */
.custom_dropdown_container {
    position: relative;
    display: block;
}
.dropdown_trigger_box {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.dropdown_trigger_box .ellipsis_text {
    flex: 1;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dropdown_trigger_box .btn_more_view {
    background: none;
    font-size: 14px;
    color: #888;
    transition: color 0.2s;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
}
.custom_dropdown_container.is_truncated .btn_more_view {
    display: flex;
}
.dropdown_content_box {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid #c4e1d3;
    background: #f3faf6;
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 110;
}
.custom_dropdown_container.is_active .dropdown_content_box {
    display: flex;
    align-items: center;
}
.dropdown_content_box .full_text {
    font-size: 14px;
    color: #114c33;
    white-space: nowrap;
}

/* check */
.checks input[type="checkbox"] {
    display: none;
}
.checks input[type="checkbox"] + label {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-left: 28px;
    line-height: 20px;
    font-size: 16px;
}
.checks input[type="checkbox"] + label::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: "";
    background: #fff;
    border: 1px solid #c2c2c2;
    border-radius: 4px;
}
.checks input[type="checkbox"]:checked + label::before {
    background: #1a9058;
    border: 1px solid #1a9058;
}
.checks input[type="checkbox"]:checked + label:after {
    position: absolute;
    top: 0;
    left: 0;
    content: "\f00c";
    color: #fff;
    font-family: "Font Awesome 7 Free";
    font-size: 13px;
    font-weight: 900;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checks input[type="checkbox"]:disabled + label {
    cursor: default;
    pointer-events: none;
    opacity: 0.5;
}
.checks input[type="checkbox"]:disabled + label::before {
    opacity: 0.9;
}
.checks input[type="checkbox"]:disabled:checked + label::before {
    opacity: 0.7;
}
.checks input[type="checkbox"]:disabled:checked + label:after {
    opacity: 0.7;
}
.label_none_checks {
    display: flex;
    justify-content: center;
    height: 20px;
}
.label_none_checks input[type="checkbox"] + label {
    padding-left: 20px;
}

/* custom select */
.custom_select {
    position: relative;
    min-width: 120px;
    width: fit-content;
    border: 1px solid #dbdfea;
    border-radius: 4px;
}
.custom_select .select_label {
    width: 100%;
    height: 38px;
    padding: 0 45px 0 16px;
    display: flex;
    align-items: center;
    background: transparent;
    font-size: 16px;
}
.custom_select_02 .select_label {
    font-size: 14px;
}
.custom_select_03 {
    min-width: fit-content;
}
.custom_select .select_options {
    position: absolute;
    top: 100%;
    left: -1px;
    width: calc(100% + 2px);
    min-width: calc(100% + 2px);
    background: #fff;
    border: 1px solid #dbdfea;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-height: 150px;
    overflow-y: auto;
    display: none;
}
.custom_select.open_up .select_options {
    top: auto;
    bottom: 100%;
    margin-bottom: 4px;
}
.custom_select.active .select_options {
    display: inline-block;
}
.custom_select .select_options li {
    padding: 8px 16px;
    list-style: none;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    text-align: left;
}
.custom_select_02 .select_options li {
    font-size: 14px;
}
.custom_select .select_options li:hover {
    background-color: #f5f5f5;
}
.custom_select .select_options li.selected {
    background: #e8f3ef;
    color: #114c33;
    font-weight: 600;
}
.custom_select i {
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
    font-size: 14px;
    z-index: 1;
}

/* radio */
.radios input[type="radio"] {
    display: none;
}
.radios input[type="radio"] + label {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-left: 28px;
    line-height: 20px;
    font-size: 16px;
}
.radios input[type="radio"] + label::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: "";
    background: #fff;
    border: 1px solid #c2c2c2;
    border-radius: 50%;
}
.radios input[type="radio"]:checked + label::before {
    background: #1a9058;
    border: 1px solid #1a9058;
}
.radios input[type="radio"]:checked + label:after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}
.radios input[type="radio"]:disabled + label {
    cursor: default;
    pointer-events: none;
    opacity: 0.5;
}
.radios input[type="radio"]:disabled:checked + label::before {
    opacity: 0.9;
}
.radios input[type="radio"]:disabled:checked + label:after {
    opacity: 0.7;
}

/* loading */
.loading_area {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 9999;
}

.loading_area .loading_box {
    position: relative;
    width: 100%;
    height: 100%;
}

.loading_area .loading_box img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* modal */
.modal_wrap {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    display: flex !important;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}
.modal_wrap.show {
    visibility: visible;
    opacity: 1;
}

.modal_wrap .overlay {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal_content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 20px;
    max-height: 95%;
    overflow: hidden;
    box-shadow: 0px 3px 9px 0 rgba(0, 0, 0, 0.18);
}
.modal_content.modal_sm {
    max-width: 400px;
}
.modal_content.modal_md {
    max-width: 700px;
}
.modal_content.modal_lg {
    max-width: 1000px;
}
.modal_content.modal_xl {
    max-width: 1200px;
}
.modal_content.modal_xxl {
    max-width: 1400px;
}

.modal_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 30px 20px 30px;
}
.modal_header .modal_title {
    font-size: 24px;
    font-weight: 700;
}
.modal_header .btn {
    padding: 0;
    min-width: 22px;
    height: 22px;
}
.modal_header .btn i {
    font-size: 22px;
}

.modal_body {
    max-height: calc(100vh - 218px);
    overflow: auto;
    padding: 10px 30px;
}
.modal_business_trip_body {
    max-height: auto;
    overflow: visible;
}
.modal_body::-webkit-scrollbar {
    width: 4px;
}
.modal_body::-webkit-scrollbar-thumb {
    background: #aaa;
}
.modal_btn_none_body {
    padding-bottom: 30px;
}

.modal_btn_wrap {
    display: flex;
    justify-content: center;
    padding: 12px 0;
}

.modal_footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 30px 30px 30px;
}
.modal_button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 400;
}

/* 회원가입 이벤트 배지 팝업 */
.badge_modal .modal_content {
    width: 90%;
}
.badge_modal .modal_header {
    justify-content: center;
}
.badge_modal .modal_chip {
    padding: 6px 20px;
    border-radius: 999px;
    background: #e5e5e5;
    font-size: 18px;
    font-weight: 400;
}
.badge_modal .modal_chip b {
    font-weight: 700;
}
.badge_modal .modal_body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.badge_modal .modal_body .tit {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}
.badge_modal .modal_body .desc {
    font-size: 16px;
    color: #5b5b5b;
    text-align: center;
}
.badge_modal .modal_body img {
    margin: 36px 0 48px;
}
.badge_loading .modal_content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 300px;
    border-radius: 999px;
}
.badge_loading .modal_content .modal_body {
    gap: 12px;
}
.badge_loading .modal_content img {
    width: 80px;
    margin: 20px 0 0;
}

/* 홈 이벤트 팝업 */
.event_modal .modal_content {
    max-width: 400px;
    width: 85%;
    overflow: visible;
}
.event_modal .close_btn {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background-color: #222;
}
.event_modal .close_btn::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    content: "";
    background: url(../../images/main/icon_close.svg) no-repeat center center / 16px 16px;
    filter: brightness(100);
    transform: translate(-50%, -50%);
}
.event_modal .modal_body {
    padding: 0;
    aspect-ratio: 400 / 500;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background-color: #222;
}
.event_modal .modal_body img {
    height: 100%;
}
.event_modal .modal_footer {
    padding: 0;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}
.event_modal .modal_button {
    width: 100%;
    height: 60px;
    border-radius: 0;
    background-color: #222;
    color: #fff;
}
/* alert */
.modal_alert {
    padding: 20px 32px 24px;
    max-width: 480px !important;
    background: #fff;
    border-radius: 20px;
    max-height: fit-content;
    height: auto;
}
.modal_alert.info {
    border: 2px solid #c6c6c6;
}
.modal_alert.success {
    border: 2px solid #acf7bc;
}
.modal_alert.warning {
    border: 2px solid #ffe79d;
}
.modal_alert.error {
    border: 2px solid #ffd1d0;
}
.modal_alert.question {
    border: 2px solid #cbbffc;
}
.modal_alert .modal_body {
    display: flex;
    flex-direction: column;
    padding: 0;
    max-height: fit-content;
    height: auto;
}
.modal_alert .modal_body p {
    font-size: 15px;
}
.modal_alert .modal_body img {
    display: block;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
}
.modal_alert .modal_footer {
    padding: 0;
    margin-top: 24px;
    justify-content: flex-end;
}
.modal_alert .modal_footer .btn {
    min-width: 80px;
    height: 32px;
    border-radius: 4px;
    font-size: 14px;
    width: auto;
}

/* ck editor */
.ck.ck-editor {
    width: 100% !important;
}
.ck.ck-editor__main > .ck-read-only {
    border: 0 !important;
    padding: 0 !important;
}
.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable) {
    border: 1px solid #ccced1 !important;
    box-shadow: none !important;
}
.ck.ck-editor__main > .ck-read-only.ck-focused:not(.ck-editor__nested-editable) {
    border: transparent !important;
}
.ck.ck-editor__main > .ck-read-only.ck-editor__editable_inline > :first-child {
    margin-top: 0 !important;
}
.ck.ck-editor__main > .ck-read-only.ck-editor__editable_inline > :last-child {
    margin-bottom: 0 !important;
}
.image img {
    display: block;
    width: 100%;
}
.ck-read-only.ck-editor__editable_inline {
    min-height: auto !important;
}
.ck-editor__editable_inline {
    min-height: 300px;
    padding: 0 16px !important;
}
.ck-editor__editable_inline p {
    font-size: 15px !important;
}
.ck .ck-link_selected {
    background: transparent !important;
    color: #444;
}
.ck .ck-link_selected:hover {
    text-decoration: underline;
}
.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label {
    color: #444 !important;
    font-family: "pretendard", "맑은 고딕", "돋움", Dotum, Arial, sans-serif !important;
    font-weight: 500 !important;
}
.ck.ck-editor p,
.ck.ck-editor span {
    word-break: break-all !important;
}
