@charset "utf-8";
/* Maker : H.J Jeon // E-Mail : jinia21@naver.com */

/* Font Setting */
@font-face {
    font-family: 'Pretendard Variable';
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
    src: url('../webfonts/PretendardVariable.woff2') format('woff2-variations');
}

/* PayboocFont @font-face는 미사용으로 제거 (폰트 파일 미이관) */

/* 폰트 세팅 */
:root {
    --font-basic: 'Pretendard Variable';
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-heavy: 800;

    --font-point: 'PayboocFont';

    /* 기준 : html font-size 100% = 16px
       2xs 13 / xs 14 / sm 15 / md 16 / lg 18 / xl 20 / xl2 22
       2xl 24 / 3xl 28 / 4xl 34 / 5xl 40 / 6xl 60 */
    --font-size-2xs: 0.813rem;
    --font-size-xs: 0.875rem;
    --font-size-sm: 0.938rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.75rem;
    --font-size-4xl: 2.125rem;
    --font-size-5xl: 2.5rem;
    --font-size-6xl: 3.75rem;

    /* 22px */
    --font-size-xl2: 1.375rem;
}


/* 기본 컬러 */
html {
    --input-placeholder-color: #bdc4d1;
    --color-background: #FFF;
    --color-background-rgb: 255, 255, 255;

    --color-basic: #191A1C;
    --color-basic-rgb: 25, 26, 28;
    --color-basic-hover: #0a0a0a;
    --color-basic-hover-rgb: 10, 10, 10;
    --color-basic-reverse: #FFF;
    --color-basic-reverse-rgb: 255, 255, 255;
    --color-gray: #686C7A;
    --color-gray-rgb: 104, 108, 122;
    --color-gray-hover: #424655;
    --color-gray-hover-rgb: 66, 70, 85;

    --color-gray-deep: #333333;
    --color-gray-deep-rgb: 51, 51, 51;
    --color-gray-deep-hover: #1f1f1f;
    --color-gray-deep-hover-rgb: 31, 31, 31;
    --color-gray-light: #99a1af;
    --color-gray-light-rgb: 153, 161, 175;

    /* 포인트 */
    --color-point: #DD6502;
    --color-point-rgb: 221, 101, 2;
    --color-point-hover: #C05802;
    --color-point-hover-rgb: 192, 88, 2;

    /* 블루 */
    --color-blue: #111987;
    --color-blue-rgb: 17, 25, 135;
    --color-blue-hover: #0D136A;
    --color-blue-hover-rgb: 13, 19, 106;

    /* 섹션 배경 */
    --color-section-light: #F9F9F9;
    --color-section-light-rgb: 249, 249, 249;
    --color-section-navy: #0D2F4C;
    --color-section-navy-rgb: 13, 47, 76;
    --color-section-dark: #1F2131;
    --color-section-dark-rgb: 31, 33, 49;

    /* 폼 요소 */
    --color-field-bg: #F9FAFB;
    --color-select-bg: #F8F8F8;
    --color-delete: #E03108;
    --color-delete-rgb: 224, 49, 8;

    /* 옅은 배경·테두리 */
    --color-point-light: #FCF0E6;
    --color-blue-light: #F3F3F9;
    --color-blue-line: #999CCB;

    /* 라인과 박스 컬러 */
    --color-line-basic: #BFCDD6;
    --color-line-basic-rgb: 191, 205, 214;
    --color-line-light: #CDD1D5;
    --color-line-light-rgb: 205, 209, 213;
    --color-box-basic: #FFF;
    --color-box-basic-rgb: 255, 255, 255;

    /* 푸터 */
    --color-footer-bg: #2A2D40;
    --color-footer-bg-rgb: 42, 45, 64;
    --color-footer-line: rgba(255, 255, 255, 0.25);
    --color-footer-dim: #AAABB3;
    --color-footer-copy: #BFC0C6;
}


/* 텍스트 사이즈 */
.text-size-2xs {
    font-size: var(--font-size-2xs) !important;
}

.text-size-xs {
    font-size: var(--font-size-xs) !important;
}

.text-size-sm {
    font-size: var(--font-size-sm) !important;
}

.text-size-md {
    font-size: var(--font-size-md) !important;
}

.text-size-lg {
    font-size: var(--font-size-lg) !important;
}

.text-size-xl {
    font-size: var(--font-size-xl) !important;
}

.text-size-2xl {
    font-size: var(--font-size-2xl) !important;
}

.text-size-3xl {
    font-size: var(--font-size-3xl) !important;
}

.text-size-4xl {
    font-size: var(--font-size-4xl) !important;
}

.text-size-5xl {
    font-size: var(--font-size-5xl) !important;
}

.text-size-6xl {
    font-size: var(--font-size-6xl) !important;
}


/* Color // Basic */
.color-basic,
.hover-color-basic:hover {
    color: var(--color-basic) !important;
}

.color-white,
.hover-color-white:hover {
    color: var(--color-white) !important;
}

.color-black,
.hover-color-black:hover {
    color: var(--color-black) !important;
}

.color-point,
.hover-color-point:hover {
    color: var(--color-point) !important;
}

.color-gray,
.hover-color-gray:hover {
    color: var(--color-gray) !important;
}

.color-gray-light,
.hover-color-gray-light:hover {
    color: var(--color-gray-light) !important;
}

.color-gray-deep,
.hover-color-gray-deep:hover {
    color: var(--color-gray-deep) !important;
}

.color-blue,
.hover-color-blue:hover {
    color: var(--color-blue) !important;
}

/* color // Background */
.bg-transparent {
    background-color: transparent !important;
}

.bg-background {
    background-color: var(--color-background) !important;
}

.bg-basic {
    background-color: var(--color-box-basic) !important;
}

.bg-point {
    background-color: var(--color-point) !important;
}

.bg-gray {
    background-color: var(--color-gray) !important;
}

.bg-blue {
    background-color: var(--color-blue) !important;
}

/* Color // Button */
[class*="btns"] {
    position: relative;
    padding: 0.5rem 0.75rem;
    background-color: var(--color-background);
    font-size: 0.875rem;
    color: var(--color-basic);
    border-radius: 0.313rem;
    transition: .2s;
    cursor: pointer;
}

[class*="btns"]::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--color-basic);
    border-radius: inherit;
    opacity: 0;
    transition: .2s;
    content: '';
}

[class*="btns"]:hover::before {
    opacity: 0.3;
}

[class*="btns"].size-mini {
    padding: 2px 6px;
    font-size: 0.75rem;
    border-radius: 0.188rem;
}

[class*="btns"].size-sm {
    padding: 0.313rem 0.625rem;
    font-size: 0.813rem;
    border-radius: 0.313rem;
    font-weight: var(--font-weight-regular);
}

[class*="btns"].size-md {
    padding: 0.438rem 1rem;
    font-size: 0.875rem;
}

[class*="btns"].size-lg {
    padding: 10px 20px;
    font-size: 1rem;
}

[class*="btns"].size-xl {
    padding: 12px 25px;
    font-size: 1.25rem;
}

[class*="btns"].flex {
    display: flex !important;
}

.btns-box {
    background-color: var(--color-box-basic);
}

.btns-point {
    background-color: var(--color-point);
    color: var(--color-white);
}

.btns-point-line::before {
    border-color: var(--color-point) !important;
}

.btns-blue {
    background-color: var(--color-blue);
    color: var(--color-white);
}

.btns-blue-line::before {
    border-color: var(--color-blue) !important;
}

@media screen and (min-width: 767px) {
    [class*="btns"].md\:size-sm {
        padding: var(--size-3) var(--size-5);
        font-size: var(--size-14);
    }

    [class*="btns"].md\:size-md {
        padding: var(--size-7) var(--size-15);
        font-size: var(--size-16);
    }

    [class*="btns"].md\:size-lg {
        padding: var(--size-10) var(--size-20);
        font-size: var(--size-18);
    }

    [class*="btns"].md\:size-xl {
        padding: var(--size-12) var(--size-25);
        font-size: var(--size-20);
    }

    [class*="btns"].md\:flex {
        display: flex !important;
    }
}

@media screen and (min-width: 1023px) {
    [class*="btns"].lg\:size-sm {
        padding: var(--size-3) var(--size-5);
        font-size: var(--size-14);
    }

    [class*="btns"].lg\:size-md {
        padding: var(--size-7) var(--size-15);
        font-size: var(--size-16);
    }

    [class*="btns"].lg\:size-lg {
        padding: var(--size-10) var(--size-20);
        font-size: var(--size-18);
    }

    [class*="btns"].lg\:size-xl {
        padding: var(--size-12) var(--size-25);
        font-size: var(--size-20);
    }

    [class*="btns"].lg\:flex {
        display: flex !important;
    }
}

@media screen and (min-width: 1439px) {
    [class*="btns"].xl\:size-sm {
        padding: var(--size-3) var(--size-5);
        font-size: var(--size-14);
    }

    [class*="btns"].xl\:size-md {
        padding: var(--size-7) var(--size-15);
        font-size: var(--size-16);
    }

    [class*="btns"].xl\:size-lg {
        padding: var(--size-10) var(--size-20);
        font-size: var(--size-18);
    }

    [class*="btns"].xl\:size-xl {
        padding: var(--size-12) var(--size-25);
        font-size: var(--size-20);
    }

    [class*="btns"].xl\:flex {
        display: flex !important;
    }
}


/* Div Table Setting */
.div-table {
    table-layout: auto;
    display: table;
    width: 100%;
    border-collapse: collapse;
    text-indent: initial;
    unicode-bidi: isolate;
}

.div-table-fixed {
    table-layout: fixed !important;
}

.div-table .thead,
.div-table .tbody,
.div-table .tfoot {
    display: table-header-group;
}

.div-table .tr {
    display: table-row;
    border-color: inherit;
}

.div-table .th,
.div-table .td {
    display: table-cell;
    vertical-align: middle;
}

@media screen and (min-width: 767px) {
    .md\:div-table {
        table-layout: auto;
        display: table;
        width: 100%;
        border-collapse: collapse;
        text-indent: initial;
        unicode-bidi: isolate;
    }

    .md\:div-table .thead,
    .md\:div-table .tbody,
    .md\:div-table .tfoot {
        display: table-header-group;
    }

    .md\:div-table .tr {
        display: table-row;
        border-color: inherit;
    }

    .md\:div-table .th,
    .md\:div-table .td {
        display: table-cell;
        vertical-align: middle;
    }
}

@media screen and (min-width: 1023px) {
    .lg\:div-table {
        table-layout: auto;
        display: table;
        width: 100%;
        border-collapse: collapse;
        text-indent: initial;
        unicode-bidi: isolate;
    }

    .lg\:div-table .thead,
    .lg\:div-table .tbody,
    .lg\:div-table .tfoot {
        display: table-header-group;
    }

    .lg\:div-table .tr {
        display: table-row;
        border-color: inherit;
    }

    .lg\:div-table .th,
    .lg\:div-table .td {
        display: table-cell;
        vertical-align: middle;
    }
}

@media screen and (min-width: 1439px) {
    .xl\:div-table {
        table-layout: auto;
        display: table;
        width: 100%;
        border-collapse: collapse;
        text-indent: initial;
        unicode-bidi: isolate;
    }

    .xl\:div-table .thead,
    .xl\:div-table .tbody,
    .xl\:div-table .tfoot {
        display: table-header-group;
    }

    .xl\:div-table .tr {
        display: table-row;
        border-color: inherit;
    }

    .xl\:div-table .th,
    .xl\:div-table .td {
        display: table-cell;
        vertical-align: middle;
    }
}


/* Rounded */
.rounded-xs,
.hover-rounded-xs:hover {
    border-radius: 0.188rem
}

/* 3px */
.rounded-sm,
.hover-rounded-sm:hover {
    border-radius: 0.313rem
}

/* 5px */
.rounded-md,
.hover-rounded-md:hover {
    border-radius: 0.625rem
}

/* 10px */
.rounded-lg,
.hover-rounded-lg:hover {
    border-radius: 1rem
}

/* 20px */
.rounded-xl,
.hover-rounded-xl:hover {
    border-radius: 1.25rem
}

/* 30px */

@media screen and (min-width: 767px) {
    .md\:rounded-xs,
    .md\:hover-rounded-xs:hover {
        border-radius: 0.188rem
    }

    /* 3px */
    .md\:rounded-sm,
    .md\:hover-rounded-sm:hover {
        border-radius: 0.313rem
    }

    /* 5px */
    .md\:rounded-md,
    .md\:hover-rounded-md:hover {
        border-radius: 0.625rem
    }

    /* 10px */
    .md\:rounded-lg,
    .md\:hover-rounded-lg:hover {
        border-radius: 1rem
    }

    /* 20px */
    .md\:rounded-xl,
    .md\:hover-rounded-xl:hover {
        border-radius: 1.25rem
    }

    /* 30px */
}

@media screen and (min-width: 1023px) {
    .lg\:rounded-xs,
    .lg\:hover-rounded-xs:hover {
        border-radius: 0.188rem
    }

    /* 3px */
    .lg\:rounded-sm,
    .lg\:hover-rounded-sm:hover {
        border-radius: 0.313rem
    }

    /* 5px */
    .lg\:rounded-md,
    .lg\:hover-rounded-md:hover {
        border-radius: 0.625rem
    }

    /* 10px */
    .lg\:rounded-lg,
    .lg\:hover-rounded-lg:hover {
        border-radius: 1rem
    }

    /* 20px */
    .lg\:rounded-xl,
    .lg\:hover-rounded-xl:hover {
        border-radius: 1.25rem
    }

    /* 30px */
}

@media screen and (min-width: 1439px) {
    .xl\:rounded-xs,
    .xl\:hover-rounded-xs:hover {
        border-radius: 0.188rem
    }

    /* 3px */
    .xl\:rounded-sm,
    .xl\:hover-rounded-sm:hover {
        border-radius: 0.313rem
    }

    /* 5px */
    .xl\:rounded-md,
    .xl\:hover-rounded-md:hover {
        border-radius: 0.625rem
    }

    /* 10px */
    .xl\:rounded-lg,
    .xl\:hover-rounded-lg:hover {
        border-radius: 1rem
    }

    /* 20px */
    .xl\:rounded-xl,
    .xl\:hover-rounded-xl:hover {
        border-radius: 1.25rem
    }

    /* 30px */
}


/* Shadow */
.shadow-sm,
.hover-shadow-sm:hover {
    box-shadow: 0 5px 5px rgba(var(--color-black-rgb), 0.1);
}

.shadow-md,
.hover-shadow-md:hover {
    box-shadow: 0 10px 10px -5px rgba(var(--color-black-rgb), 0.1);
}

.shadow-lg,
.hover-shadow-lg:hover {
    box-shadow: 0 15px 15px -8px rgba(var(--color-black-rgb), 0.15);
}

.shadow-xl,
.hover-shadow-xl:hover {
    box-shadow: 0 20px 20px -10px rgba(var(--color-black-rgb), 0.2);
}

.inset-shadow-sm,
.hover-inset-shadow-sm {
    box-shadow: inset 2px 3px 5px rgba(var(--color-black-rgb), 0.1);
}

@media screen and (min-width: 767px) {
    .md\:shadow-sm,
    .md\:hover-shadow-sm:hover {
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    }

    .md\:shadow-md,
    .md\:hover-shadow-md:hover {
        box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    }

    .md\:shadow-lg,
    .md\:hover-shadow-lg:hover {
        box-shadow: 0 15px 15px -8px rgba(0, 0, 0, 0.15);
    }

    .md\:shadow-xl,
    .md\:hover-shadow-xl:hover {
        box-shadow: 0 20px 20px -10px rgba(0, 0, 0, 0.2);
    }
}

@media screen and (min-width: 1023px) {
    .lg\:shadow-sm,
    .lg\:hover-shadow-sm:hover {
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    }

    .lg\:shadow-md,
    .lg\:hover-shadow-md:hover {
        box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    }

    .lg\:shadow-lg,
    .lg\:hover-shadow-lg:hover {
        box-shadow: 0 15px 15px -8px rgba(0, 0, 0, 0.15);
    }

    .lg\:shadow-xl,
    .lg\:hover-shadow-xl:hover {
        box-shadow: 0 20px 20px -10px rgba(0, 0, 0, 0.2);
    }
}

@media screen and (min-width: 1439px) {
    .xl\:shadow-sm,
    .xl\:hover-shadow-sm:hover {
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    }

    .xl\:shadow-md,
    .xl\:hover-shadow-md:hover {
        box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    }

    .xl\:shadow-lg,
    .xl\:hover-shadow-lg:hover {
        box-shadow: 0 15px 15px -8px rgba(0, 0, 0, 0.15);
    }

    .xl\:shadow-xl,
    .xl\:hover-shadow-xl:hover {
        box-shadow: 0 20px 20px -10px rgba(0, 0, 0, 0.2);
    }
}


/* Transition */
.transition-1 {
    transition: 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.transition-2 {
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* Tooltip */
.custom-tooltip {
    position: absolute;
    /* 마우스 위치를 따라다니도록 absolute 설정 */
    top: 0;
    left: 0;
    visibility: hidden;
    /* 초기에는 숨김 */
    line-height: 1.4;
    padding: 5px 10px;
    background-color: var(--color-basic);
    color: var(--color-basic-reverse);
    border-radius: 4px;
    font-size: clamp(0.75rem, 3vw, 0.875rem);
    white-space: normal;
    /* 툴팁 내용이 줄바꿈 되지 않도록 함 */
    z-index: 9999;
    pointer-events: none;
    /* 툴팁 자체가 마우스 이벤트를 방해하지 않도록 함 */
    opacity: 0;
    transition: opacity 0.3s ease-out;

    max-width: 180px;
}

.custom-tooltip.active {
    visibility: visible;
    opacity: 1;
}


.tooltip-trigger {
    position: relative;
    cursor: help;
}


/* Alerts */
.gw-alert {
    padding: 1rem;
    border: 1px solid var(--color-line-basic);
    background-color: var(--color-background);
    box-shadow: 0 5px 5px -3px rgba(var(--color-black-rgb), 0.1);
    border-radius: 0.375rem;
    color: var(--color-gray);
}

.gw-alert.alert-primary {
    border-color: #9ec5fe;
    background-color: #cfe2ff;
    color: #052c65;
}

.gw-alert.alert-secondary {
    border-color: #c4c8cb;
    background-color: #e2e3e5;
    color: #2b2f32;
}

.gw-alert.alert-success {
    border-color: #a3cfbb;
    background-color: #d1e7dd;
    color: #0a3622;
}

.gw-alert.alert-danger {
    border-color: #f1aeb5;
    background-color: #f8d7da;
    color: #58151c;
}

.gw-alert.alert-warning {
    border-color: #ffe96c;
    background-color: #fff3cd;
    color: #664d03;
}

.gw-alert.alert-info {
    border-color: #9eeaf9;
    background-color: #cff4fc;
    color: #055160;
}

.gw-alert.alert-light {
    border-color: #e9ecef;
    background-color: #fcfcfd;
    color: #495057;
}


/* H Setting */
h1.h1-tit>em.tit {
    font-size: clamp(2.125rem, 2.5vw, 3rem);
    font-weight: var(--font-weight-bold);
}

h2.h2-tit>em.tit {
    font-size: clamp(1.5rem, 2.5vw, 2.125rem);
    font-weight: var(--font-weight-bold);
}

h3.h3-tit>em.tit {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: var(--font-weight-bold);
}

h4.h4-tit>em.tit {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: var(--font-weight-semibold);
}

h5.h5-tit>em.tit {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    font-weight: var(--font-weight-medium);
}


/* Form Setting */
div.basic-input,
input.basic-input,
select.basic-select,
textarea.basic-textarea,
div.line-input,
input.line-input,
select.line-select {
    position: relative;
    width: 100%;
    margin: 0;
    border: none;
    border-radius: 4px;
    background-color: var(--color-field-bg);
    font-size: var(--font-size-xs);
    color: var(--color-basic);
    transition: border-color .2s;
}

div.basic-input,
input.basic-input,
select.basic-select {
    height: 39px;
    padding: 0 20px;
    border: 1px solid var(--color-line-basic);
}

/* 내용을 얹는 상자 */
div.basic-input {
    display: flex;
    align-items: center;
    gap: 10px;
    height: auto;
    min-height: 39px;
}

textarea.basic-textarea {
    height: 113px;
    padding: 12px 20px;
    border: 1px solid var(--color-line-basic);
    line-height: 1.6;
    resize: vertical;
}

/* 글자만 */
div.basic-input.like-text,
input.basic-input.like-text,
select.basic-select.like-text,
textarea.basic-textarea.like-text,
div.line-input.like-text,
input.line-input.like-text,
select.line-select.like-text {
    border-color: transparent;
    background-color: transparent;
}

/* 날짜 — 브라우저 기본 달력을 쓴다 */
div.basic-input.date-input,
input.basic-input.date-input {
    width: 150px;
    height: 35px;
    padding: 0 10px;
}

input.basic-input.date-input::-webkit-calendar-picker-indicator {
    width: 18px;
    height: 18px;
    opacity: .7;
    cursor: pointer;
}

input.basic-input.date-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* 밑줄형 */
div.line-input,
input.line-input,
select.line-select {
    padding: 5px 0;
    border: none;
    border-bottom: 1px solid var(--color-line-basic);
    border-radius: 0;
    background-color: transparent;
}

input.basic-input:focus,
select.basic-select:focus,
textarea.basic-textarea:focus,
input.line-input:focus,
select.line-select:focus {
    outline: none;
}

input.basic-input:not(.readonly):focus,
select.basic-select:not(.readonly):focus,
textarea.basic-textarea:not(.readonly):focus,
input.line-input:not(.readonly):focus {
    border-color: var(--color-point);
}


select.basic-select,
select.line-select {
    padding-right: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23686C7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
}

select.basic-select {
    background-color: var(--color-select-bg);
}

/* 체크 · 라디오 */
label.basic-radio-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: var(--font-size-xs);
    color: var(--color-basic);
    cursor: pointer;
}

input.basic-check,
input.basic-radio {
    flex: none;
    width: var(--label-check-size, 20px);
    height: var(--label-check-size, 20px);
    margin: 0;
    border: 2px solid var(--color-blue);
    background-color: var(--color-box-basic);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

input.basic-radio {
    border-radius: 50%;
}

input.basic-check {
    border-radius: 4px;
}

input.basic-radio:checked {
    background-color: var(--color-blue);
    box-shadow: inset 0 0 0 3px var(--color-box-basic);
}

input.basic-check:checked {
    background-color: var(--color-blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

input.basic-check.mini,
input.basic-radio.mini {
    --label-check-size: 18px;
}

/* 읽기 전용 화면 — 고르지 않은 항목은 흐리게 */
input.basic-check:disabled,
input.basic-radio:disabled {
    border-color: var(--color-line-basic);
    cursor: default;
}

input.basic-check:checked:disabled,
input.basic-radio:checked:disabled {
    border-color: var(--color-blue);
}

label.basic-radio-item:has(input:disabled) {
    color: var(--color-gray-light);
    cursor: default;
}

label.basic-radio-item:has(input:checked:disabled) {
    color: var(--color-basic);
}

input.switch-input+label,
button.switch-input {
    position: relative;
    display: flex;
    width: var(--switch-btn-width, 32px);
    height: var(--switch-btn-height, 16px);
    background-color: var(--color-gray);
    border-radius: var(--switch-btn-height, 16px);
    box-shadow: inset 1px 2px 3px rgba(var(--color-black-rgb), 0.15);
    transition: .3s;
    cursor: pointer;
}

input.switch-input+label:after,
button.switch-input:after {
    position: absolute;
    top: 50%;
    left: 3px;
    width: calc(var(--switch-btn-width, 32px) / 1.8);
    height: calc(var(--switch-btn-height, 16px) - 6px);
    background-color: var(--color-white);
    border-radius: calc(var(--switch-btn-height, 16px) - 6px);
    transform: translateY(-50%);
    transition: .3s;
    content: '';
}

input.switch-input:checked+label,
button.switch-input.checked {
    background-color: var(--color-point);
}

input.switch-input:checked+label:after,
button.switch-input.checked:after {
    transform: translate(calc(var(--switch-btn-width, 32px) - (var(--switch-btn-width, 32px) / 1.8) - 6px), -50%);
}

input[type=range] {
    -webkit-appearance: none;
    width: var(--range-slider-width, 100%);
    background: transparent;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    border-radius: 4px;
    /* 핵심: 변수를 사용해 파란색이 채워지는 범위를 조절합니다 */
    background: linear-gradient(to right, var(--color-point) 0%, var(--color-point) var(--range-progress, 0%), #e0e0e0 var(--range-progress, 0%), #e0e0e0 100%);
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--color-point);
    /* 이미지의 파란색 원 */
    cursor: pointer;
    margin-top: -6px;
    /* (트랙높이/2 - thumb높이/2) 공식을 사용하여 중앙 정렬 */
    border: 2px solid var(--color-basic);
    /* 테두리 추가 시 더 선명함 */
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}


/* 슬라이딩 탭 */
.tab-slide {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tab-slide-item {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.tab-slide-btn {
    border: none;
    background-color: transparent;
    font-size: inherit;
    color: var(--color-gray-deep);
    white-space: nowrap;
    cursor: pointer;
    transition: color .3s;
}

.tab-slide-item:not(.active) .tab-slide-btn:hover {
    color: var(--color-basic);
}

.tab-slide-item.active .tab-slide-btn {
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
}

.tab-slide-focus {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 0;
    width: 0;
    height: var(--tab-focus-height, 40px);
    border-radius: var(--tab-focus-radius, 20px);
    background-color: var(--color-point);
    transform: translateY(-50%);
    transition: left .35s cubic-bezier(0.22, 1, 0.36, 1), width .35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

/* 최초 렌더·리사이즈 때는 애니메이션 없이 자리만 잡는다 */
.tab-slide.no-anim .tab-slide-focus {
    transition: none;
}

@media (prefers-reduced-motion: reduce) {
    .tab-slide-focus {
        transition: none;
    }
}


/* 썸네일 확대 */
.thumb-zoom {
    display: block;
    overflow: hidden;
}

.thumb-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1);
}

a:hover .thumb-zoom img,
a:focus-visible .thumb-zoom img,
a.thumb-zoom:hover img,
a.thumb-zoom:focus-visible img {
    transform: scale(1.08);
}

/* 동작 최소화를 설정한 사용자에게는 확대하지 않는다 */
@media (prefers-reduced-motion: reduce) {
    .thumb-zoom img {
        transition: none;
    }

    a:hover .thumb-zoom img,
    a:focus-visible .thumb-zoom img,
    a.thumb-zoom:hover img,
    a.thumb-zoom:focus-visible img {
        transform: none;
    }
}


/* 동영상 임베드 */
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.embed-container iframe,
.embed-container object,
.embed-container embed,
.embed-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* 스크롤 커스텀 // 세로 */
.scrollbox {
    overflow-x: hidden;
    overflow-y: auto;
    -ms-overflow-style: scrollbar;
}

.scrollbox::-webkit-scrollbar {
    width: var(--scrollbar-size, 6px);
    height: var(--scrollbar-size, 6px);
}

.scrollbox::-webkit-scrollbar-track {
    background-color: transparent;
}

.scrollbox::-webkit-scrollbar-thumb {
    border-radius: var(--scrollbar-size, 6px);
    background-color: rgba(var(--color-basic-rgb), 0.1);
    transition: .3s;
    cursor: pointer;
}

.scrollbox::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-point);
}


/* 가로 스크롤 */
.width-scrollbox {
    overflow-x: auto;
    margin: 0 calc(var(--padding-basic) * -1);
    -ms-overflow-style: scrollbar;
}

.width-scrollbox .scroll-con {
    padding: 0 var(--padding-basic) 10px;
}

.width-scrollbox.w480 .scroll-con {
    width: 480px;
}

.width-scrollbox.w640 .scroll-con {
    width: 600px;
}

.width-scrollbox.w768 .scroll-con {
    width: 800px;
}

.width-scrollbox.w980 .scroll-con {
    width: 1000px;
}

.width-scrollbox.w1240 .scroll-con {
    width: 1200px;
}

@media screen and (min-width: 639px) {
    .width-scrollbox.w480 {
        margin: 0 !important;
    }

    .width-scrollbox.w480 .scroll-con {
        width: 100%;
        padding: 0;
    }
}

@media screen and (min-width: 767px) {
    .width-scrollbox.w640 {
        margin: 0 !important;
    }

    .width-scrollbox.w640 .scroll-con {
        width: 100%;
        padding: 0;
    }
}

@media screen and (min-width: 1023px) {
    .width-scrollbox.w768 {
        margin: 0 !important;
    }

    .width-scrollbox.w768 .scroll-con {
        width: 100%;
        padding: 0;
    }
}

@media screen and (min-width: 1239px) {
    .width-scrollbox.w980 {
        margin: 0 !important;
    }

    .width-scrollbox.w980 .scroll-con {
        width: 100%;
        padding: 0;
    }
}

@media screen and (min-width: 1439px) {
    .width-scrollbox {
        margin: 0 !important;
    }

    .width-scrollbox .scroll-con {
        padding: 0;
    }

    .width-scrollbox.w1240 .scroll-con {
        width: 100%;
    }
}

/* Table */
.basic-table {
    width: 100%;
    border-top: 1px solid var(--color-line-basic);
    font-size: var(--font-size-xs);
    color: var(--color-basic);
    text-align: center;
}

.basic-table th,
.basic-table td {
    overflow: hidden;
    height: 51px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--color-line-basic);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.basic-table thead th {
    background-color: var(--color-section-light);
    font-weight: var(--font-weight-regular);
}

.basic-table th + th,
.basic-table tbody th + td,
.basic-table tbody td + td {
    border-left: 1px solid var(--color-line-basic);
}

/* 2단 헤더의 첫 칸은 앞 형제가 없어 + 선택자로는 왼쪽 선이 안 붙는다 */
.basic-table thead tr + tr th:first-child {
    border-left: 1px solid var(--color-line-basic);
}

.basic-table-link {
    color: inherit;
    text-decoration: none;
}

.basic-table-link:hover {
    text-decoration: underline;
}

/* 값이 긴 결과 표 */
.basic-table.type-result th,
.basic-table.type-result td {
    height: 52px;
    white-space: normal;
}

.basic-table.type-result thead th {
    background-color: var(--color-field-bg);
}

