.upload_input {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

.cursor_pointer {
    cursor: pointer;
}

/* show, hide */
.hide {
    display: none !important;
}
.show {
    display: block !important;
}

/* 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;
}

/* badge */
.badge {
    display: inline-block;
    padding: 0 8px;
    border-radius: 4px;
    width: fit-content;
    font-size: 12px;
    line-height: 12px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.badge_blue {
    background: #3398eb;
    color: #fff;
}
.badge_pink {
    background: #ed5f9f;
    color: #fff;
}
.badge_green {
    background: #3abb6e;
    color: #fff;
}

/* button */
.btn {
    min-width: 120px;
    width: fit-content;
    height: 48px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border-radius: 4px;
    font-size: 16px;
}
.btn:disabled {
    background: #ccc;
    color: #fff;
    cursor: inherit;
}
.btn_blue {
    background: #076adb;
    color: #fff;
}
.btn_red {
    background: #e61f2c;
    color: #fff;
}
.btn_gray {
    background: #e5e5e5;
    color: #333;
}
.btn_dark {
    background: #333;
    color: #fff;
}
.btn_outline_blue {
    background: #fff;
    border: 1px solid #076adb;
    color: #076adb;
}
.btn_outline_gray {
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
}
.btn_outline_dark {
    background: #fff;
    border: 1px solid #999;
    color: #000;
}

/* typography */
.text_left {
    text-align: left;
}
.text_center {
    text-align: center;
}
.text_right {
    text-align: right;
}

/* select */
.select_wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
    background: #f5f5f5;
}
.select_wrap i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
    z-index: 1;
    width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

/* 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;
    color: #333;
}
.checks input[type="checkbox"] + label::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: "";
    background: #fff;
    border: 1px solid #ababab;
    border-radius: 2px;
}
.checks input[type="checkbox"]:checked + label::before {
    background: #e61f2c;
    border: 1px solid #e61f2c;
}
.checks input[type="checkbox"]:checked + label:after {
    position: absolute;
    top: 0;
    left: 0;
    content: "\f00c";
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-size: 16px;
    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;
}

/* 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: 15px;
    color: #333;
}
.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: #e61f2c;
    border: 1px solid #e61f2c;
}
.radios input[type="radio"]:checked + label:after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    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;
}

/* switch */
.switchs {
    position: relative;
    display: flex;
    align-items: center;
    height: 24px;
}
.switchs input[type="checkbox"] {
    display: none;
}
.switchs input[type="checkbox"] + label {
    position: relative;
    cursor: pointer;
    padding-left: 52px;
    height: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.switchs_text_none input[type="checkbox"] + label {
    padding-left: 42px;
}
.switchs input[type="checkbox"] + label:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 24px;
    content: "";
    background: #ccc;
    border-radius: 50px;
}
.switchs input[type="checkbox"] + label:after {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    content: "";
    border-radius: 50px;
    transition: transform 0.3s ease, opacity 0.2s ease, background 0.2s ease;
    background: #fff;
}
.switchs input[type="checkbox"]:checked + label:before {
    background: #e61f2c;
}
.switchs input[type="checkbox"]:checked + label:after {
    right: 2px;
    transform: translateX(18px) scale(1);
}
.switchs input[type="checkbox"]:disabled:checked + label:before {
    opacity: 0.3;
}
.switchs input[type="checkbox"]:disabled:checked + label:after {
    opacity: 0.5;
}
.switchs input[type="checkbox"]:disabled + label:before {
    opacity: 0.3;
}
.switchs input[type="checkbox"]:disabled + label:after {
    opacity: 0.5;
}
.switchs input[type="checkbox"]:disabled + label {
    cursor: default;
    pointer-events: none;
    color: #999;
}


/* 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: 200;
    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: calc(100% - 40px);
    max-width: 500px;
    margin: 0 auto;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 20px;
    max-height: 90%;
    overflow: hidden;
}
.modal_content.modal_sm {
    max-width: 400px;
}
.modal_content.modal_md {
    max-width: 600px;
}
.modal_content.modal_lg {
    max-width: 900px;
}
.modal_content.modal_xl {
    max-width: 1200px;
}

.modal_header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 20px 0;
}
.modal_header .btn {
    padding: 0;
    min-width: 20px;
    height: 20px;
}
.modal_header .btn img {
    display: block;
}

.modal_body {
    max-height: calc(100vh - 348px);
    overflow-y: auto;
    padding: 0 20px;
}
.modal_btn_none_body {
    max-height: calc(100vh - 170px);
}
.modal_body::-webkit-scrollbar {
    width: 6px;
}
.modal_body::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 10px;
}
.modal_btn_none_body {
    padding-bottom: 30px;
}

.modal_footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 20px 20px;
}

.modal_footer .btn {
    height: 56px;
    width: 100%;
    font-weight: 600;
}

/* alert */
.modal_alert {
    max-width: 335px;
    background: transparent;
    border-radius: 10px;
    max-height: fit-content;
    height: auto;
}
.modal_alert .modal_body {
    display: flex;
    flex-direction: column;
    padding: 20px;
    min-height: auto;
    max-height: fit-content;
    height: auto;
    background: #fff;
}
.modal_alert .modal_body .text {
    font-size: 16px;
    line-height: 22px;
    text-align: center;
}
.modal_alert .modal_body .title {
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}
.modal_alert .modal_body p + p {
    margin-top: 12px;
}
.modal_alert .modal_footer {
    padding: 0;
    gap: 0;
}
.modal_alert .modal_footer .btn_group {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.modal_alert .modal_footer .btn_group .btn {
    min-width: 50%;
    height: 48px;
    border-radius: 0;
}
.modal_alert .modal_footer .btn_group .btn_full {
    min-width: 100%;
}
