/* base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    outline: none;
}
html,
body {
    width: 100%;
    touch-action: manipulation;
}

html {
    height: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    min-width: 320px;
    margin: 0;
    height: 100%;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
textarea,
p,
blockquote,
th,
td,
input,
select,
textarea,
button,
a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    height: 100%;
    color: var(--gray-200);
    line-height: 110%;
    background: var(--black);
    font-size: 16px;
    letter-spacing: -0.7px;
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}
/* *,
*::before,
*::after {
  box-sizing: inherit;
} */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 100%;
}
strong {
    font-weight: 800;
}
input,
select,
textarea,
button,
label {
    font-size: 100%;
    vertical-align: middle;
    cursor: pointer;
}
select {
    width: 100%;
    height: 42px;
    padding: 0 25px 0 15px;
    font-size: 16px;
    color: #2c2d32;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #ddd;
    background: #fff url(../images/ico-select-arrow.png) right 14px center no-repeat;
    background-size: 20px 20px;
    transition: border-color 0.3s ease;
}
select::-ms-expand {
    display: none;
}

input:disabled {
    opacity: 1;
    -webkit-text-fill-color: inherit;
}
input[type='text'],
input[type='search'],
input[type='password'],
input[type='tel'],
input[type='email'],
input[type='number'],
input[type='button'] {
    font-size: 16px;
    background: var(--gray-800);
    border: 1px solid rgb(var(--rgb-white), 10%);
    color: var(--gray-200);
    height: 50px;
    padding: 16px;
    font-weight: 600;
    border-radius: 6px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

input[type='text']:focus,
input[type='password']:focus,
input[type='tel']:focus,
input[type='email']:focus,
input[type='number']:focus {
    border: 1px solid var(--gray-600);
    background: var(--gray-800);
    border-radius: 6px;
    color: var(--gray-200);
}

::-webkit-input-placeholder {
    font-size: 14px;
    color: #7f8090;
    vertical-align: middle;
    letter-spacing: -1px;
}
textarea::placeholder {
    font-size: 14px;
    color: #7f8090;
    vertical-align: middle;
    letter-spacing: -1px;
}

textarea {
    font-family: 'Pretendard, sans-serif';
    width: 100%;
    height: 150px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #e9e9ec;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    resize: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
fieldset,
img,
iframe {
    border: 0 none;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
}

body::-webkit-scrollbar {
    width: 10px;
}
body::-webkit-scrollbar-thumb {
    height: 10%;
    background: #4e83ff;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    box-sizing: border-box;
    -webkit-transition: border 0.1s linear;
    -moz-transition: border 0.1s linear;
    transition: border 0.1s linear;
}
body::-webkit-scrollbar-track {
    background: rgba(33, 122, 244, 0.1);
}

body::-webkit-scrollbar-thumb:hover {
    background: #0132ae;
}

.scroll::-webkit-scrollbar {
    width: 7px;
}
.scroll::-webkit-scrollbar-thumb {
    height: 20%;
    background: #4e83ff;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}
.scroll::-webkit-scrollbar-track {
    background: rgba(33, 122, 244, 0.1);
}

em,
address {
    font-style: normal;
}
a {
    text-decoration: none;
    background-color: transparent;
    vertical-align: middle;
    -webkit-text-decoration-skip: objects;
    color: #000;
    word-break: break-word;
    cursor: pointer;
}
a:hover,
a:active,
a:focus {
    text-decoration: none;
}
menu,
li {
    list-style: none;
}
button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: var(--button-bg-color);
    color: var(--button-color);
    margin: 0;
    padding: 0;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    width: auto;
    font-family: 'Pretendard', sans-serif;
}

button,
input {
    overflow: visible;
}

caption {
    width: 0;
    height: 0;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    visibility: hidden;
}
hr {
    display: none;
    padding: 0;
    margin: 0;
}
i,
em,
address {
    font-style: normal;
}
label {
    cursor: pointer;
}
table {
    width: 100%;
    border-spacing: 0;
    border-collapse: 0;
    color: #000;
    table-layout: fixed;
}
table td {
    word-wrap: break-word;
}

input[type='number']::-webkit-outer-spin-button,
input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ul:after {
  display: block;
  content: "";
  clear: both;
} */

/* basic check,radio */
input[type='checkbox'] {
    display: none !important;
}
input[type='checkbox'] + .chk-label {
    color: #222;
}
input[type='checkbox'] + .chk-label span {
    display: inline-block;
    background: url('../images/check-box.png') no-repeat;
    background-size: 100% auto;
    width: 20px;
    height: 20px;
    background-position: 0 0;
    margin: -3px 5px 0 0;
    vertical-align: middle;
    cursor: pointer;
}
input[type='checkbox']:checked + .chk-label span {
    background: url('../images/check-box.png') no-repeat;
    background-size: 100% auto;
    background-position: 0 -20px;
}

input[type='radio'] {
    display: none !important;
}
input[type='radio'] + .rdo-label {
    color: #222;
    margin-right: 20px;
}
input[type='radio'] + .rdo-label:last-child {
    margin-right: 0;
}
input[type='radio'] + .rdo-label span {
    display: inline-block;
    background: url('../images/radio-box.png') no-repeat;
    background-size: 100% auto;
    width: 20px;
    height: 20px;
    background-position: 0 0;
    margin: -3px 5px 0 0;
    vertical-align: middle;
    cursor: pointer;
}
input[type='radio']:checked + .rdo-label span {
    background: url('../images/radio-box.png') no-repeat;
    background-size: 100% auto;
    background-position: 0 -20px;
}

.fit-content {
    width: fit-content;
}
.text-center {
    text-align: center !important;
}
.text-left {
    text-align: left !important;
}
.d-flex {
    display: flex;
}
.justify-start {
    justify-content: flex-start !important;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.flex-direction-row {
    flex-direction: row !important;
}
.justify-content-flex-end {
    justify-content: flex-end !important;
}

/*selectBox*/
.select-area {
    position: relative;
}
.select-area .arrow-down {
    position: absolute;
    top: 4px;
    right: 0;
    width: 26px;
    height: 26px;
    background: url('../images/arrow-down.png') no-repeat center center;
    background-size: 100%;
}

/* 타이틀 */
.title-large {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
    letter-spacing: -2px;
    clear: both;
    gray-: #222;
}
.title-blue {
    font-size: 18px;
    gray-: #4e83ff;
    margin-bottom: 20px;
    font-weight: 700;
}

.radio-new.row-half {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.radio-new {
    display: flex;
    gap: 8px;
}

.radio-new input[type='radio'] {
    display: none;
}
.radio-new input[type='radio'] + label {
    display: inline-block;
    cursor: pointer;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center; /*margin-right:10px;*/
}
.radio-new input[type='radio'] + label {
    width: 100%;
    border-radius: 4px;
    font-size: 15px;
    border: 1px solid rgb(var(--rgb-white), 10%);
    background: var(--gray-800);
    color: var(--gray-400);
}
.radio-new input[type='radio']:checked + label {
    background: transparent;
    border: 1px solid var(--primary-500);
    color: var(--primary-500);
    font-size: 16px;
}

.eyeView {
    .security[type='checkbox'] {
        + .Link span {
            display: inline-block;
            background: url('../images/ico-eye-off.svg') no-repeat;
            background-size: 100% auto;
            width: 24px;
            height: 24px;
            filter: var(--filter-gray-400);
            cursor: pointer;
        }

        &:checked + .Link span {
            background: url('../images/ico-eye-on.svg') no-repeat; /* 체크 시 아이콘 (눈 뜸)*/
            filter: var(--filter-gray-700);
        }
    }
}

.gap-20 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.gap-30 {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.color-white {
    color: var(--white) !important;
}
/* margin */

.m-t-0 {
    margin-top: 0 !important;
}
.m-t-5 {
    margin-top: 5px !important;
}
.m-t-10 {
    margin-top: 10px !important;
}
.m-t-15 {
    margin-top: 15px !important;
}
.m-t-20 {
    margin-top: 20px !important;
}
.m-t-30 {
    margin-top: 30px !important;
}
.m-t-40 {
    margin-top: 40px !important;
}
.m-t-50 {
    margin-top: 50px !important;
}
.m-t-60 {
    margin-top: 60px !important;
}

.ml-10 {
    margin-left: 10px !important;
}
.ml-20 {
    margin-left: 20px !important;
}
.m-tl-20 {
    margin: 20px 0 0 20px;
}

.m-b-0 {
    margin-bottom: 0 !important;
}
.m-b-10 {
    margin-bottom: 10px !important;
}
.m-b-15 {
    margin-bottom: 10px !important;
}
.m-b-20 {
    margin-bottom: 20px !important;
}
.m-b-30 {
    margin-bottom: 30px !important;
}
.m-b-40 {
    margin-bottom: 40px !important;
}
.m-b-50 {
    margin-bottom: 40px !important;
}

/*************** 버튼 ***************/

.pop-btn-wrap {
    padding: 40px 16px 16px;
}

.bwNormal {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-top: 30px;
    width: 100%;
    margin: 0 auto;
}

.bwhalf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 0 0;
}

/* size */

.btnXl {
    width: 100%;
    height: 60px;
    font-size: 19px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}
.btnL {
    width: 100%;
    height: 56px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btnM {
    width: 100%;
    height: 40px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 14px;
}
.btnS {
    height: 36px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius4) !important;
    padding: 0 10px;
}
.btnXs {
    height: 28px;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 8px;
    border-radius: 3px;
}

.btn-text-medium {
    font-size: 14px;
    color: var(--gray-100);
}

@media all and (max-width: 320px) {
    button.XLarge,
    a.XLarge {
        height: 56px;
    }
}

/* color */
.btn-primary-gradient {
    background: var(--primary-gradient-purple);
    color: var(--white) !important;
}
.btn-primary-500 {
    background: var(--white);
    border: 1px solid var(--primary-500);
    color: var(--primary-red) !important;
}

.btn-black-line {
    background: var(--white);
    border: 1px solid var(--black);
    color: var(--black);
    font-weight: 600;
}
.btn-gray-900 {
    background: var(--gray-900);
    color: var(--gray-300);
}
.btn-gray-800 {
    background: var(--gray-800);
    color: var(--gray-400);
}
.btn-gray-700 {
    background: var(--gray-700);
    color: var(--gray-100);
}
.btn-gray-600 {
    background: var(--gray-600);
    color: var(--gray-100);
}
.btn-gray-500 {
    background: var(--gray-500);
    color: var(--white);
}
.btn-gray-300 {
    background: var(--gray-300);
    color: var(--black);
}
.btn-gray-100 {
    background: var(--gray-100);
    color: var(--gray-800);
}
.btn-gray-100Line {
    background: transparent;
    border: 1px solid var(--gray-200);
    color: var(--gray-100);
}
.btn-gray-300Line {
    background: transparent;
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
}
.btn-gray-500Line {
    background: transparent;
    border: 1px solid var(--gray-500);
    color: var(--gray-800);
}
.btn-gray-700Line {
    background: transparent;
    border: 1px solid var(--gray-700);
    color: var(--gray-900);
}

.btn-Disabled {
    background: var(--gray-200);
    color: var(--gray-400);
}

/************************************************************************************************/
:root {
    --primary-gradient-purple: linear-gradient(90deg, #985cfd 0%, #1c92ff 100%);

    --primary-500: #f95835;

    --secondary-500: #e2ff30;
    --white: #fff;
    --black: #000;
    --gray-900: #1f1f25;
    --gray-800: #33333d;
    --gray-700: #5f616d;
    --gray-600: #868793;
    --gray-500: #979aa3;
    --gray-400: #b6b7be;
    --gray-300: #d9dbe0;
    --gray-200: #e7e9eb;
    --gray-100: #f7f7f8;

    --red: red;

    --filter-primary-500: invert(38%) sepia(67%) saturate(2882%) hue-rotate(240deg) brightness(102%) contrast(98%);
    --filter-primary-600: invert(27%) sepia(100%) saturate(1206%) hue-rotate(242deg) brightness(93%) contrast(87%);

    --filter-secondary-500: invert(83%) sepia(73%) saturate(482%) hue-rotate(13deg) brightness(106%) contrast(100%);

    --filter-white: invert(97%) sepia(97%) saturate(2%) hue-rotate(82deg) brightness(103%) contrast(100%);
    --filter-black: invert(0%) sepia(100%) saturate(0%) hue-rotate(21deg) brightness(97%) contrast(103%);
    --filter-gray-100: invert(95%) sepia(86%) saturate(295%) hue-rotate(263deg) brightness(110%) contrast(94%);
    --filter-gray-200: invert(100%) sepia(1%) saturate(3073%) hue-rotate(175deg) brightness(95%) contrast(93%);
    --filter-gray-300: invert(98%) sepia(1%) saturate(2181%) hue-rotate(185deg) brightness(89%) contrast(96%);
    --filter-gray-400: invert(83%) sepia(0%) saturate(1537%) hue-rotate(271deg) brightness(90%) contrast(92%);
    --filter-gray-500: invert(68%) sepia(16%) saturate(144%) hue-rotate(187deg) brightness(88%) contrast(89%);
    --filter-gray-600: invert(56%) sepia(6%) saturate(526%) hue-rotate(198deg) brightness(95%) contrast(87%);
    --filter-gray-700: invert(40%) sepia(17%) saturate(285%) hue-rotate(193deg) brightness(87%) contrast(84%);
    --filter-gray-800: invert(18%) sepia(8%) saturate(1034%) hue-rotate(202deg) brightness(91%) contrast(88%);
    --filter-gray-900: invert(9%) sepia(9%) saturate(859%) hue-rotate(201deg) brightness(101%) contrast(93%);

    --rgb-white: 255, 255, 255;
    --rgb-black: 0, 0, 0;
}
