:root {

    /* 기본 폰트 */
    --fs-xxs: 13px;
    --fs-xs: 14px;
    --fs-sm: 16px;
    --fs-md: 18px;
    --fs-lg: 20px;
    --fs-xl: 24px;
    --fs-2xl: 32px;
    --fs-3xl: 36px;
    --fs-4xl: 54px;

    --wf-white: #ffffff;
    --wf-50: #f7f7f7;
    --wf-100: #f8f9fa;
    --wf-200: #e9ecef;
    --wf-300: #dee2e6;
    --wf-400: #ced4da;
    --wf-500: #adb5bd;
    --wf-600: #6c757d;
    --wf-700: #495057;
    --wf-800: #343a40;
    --wf-900: #212529;

    --bg: #efeff2;
    --point-bg: #e4e6ec;
    --serve-bg: #e1e1e8;
    --border: #cfcfda;
    --primary-blue100: #26addf;
    --primary-blue200: #4694d1;
    --primary-blue300: #3071b9;
    --primary-blue400: #365299;
    --primary-soft-blue100: #26addf1f;
    --primary-soft-blue200: #4694d11f;
    --primary-soft-blue300: #3071b91f;
    --primary-soft-blue400: #3652991f;
    --primary-red: #da3715;
    --primary-soft-red: #da37151f;

    --radius-4: 4px;
    --radius-6: 6px;
    --radius-8: 8px;
    --radius-12: 12px;
    --radius-16: 16px;
    --radius-20: 20px;
    --radius-32: 32px;
    --radius-100: 100px;

    --scale-start: 0.5;
    --scale-end: 1.001;
    --hover-offset: 5%;
    --ease-elastic: linear(0,
        0.186 2.1%,
        0.778 7.2%,
        1.027 9.7%,
        1.133,
        1.212,
        1.264,
        1.292 15.4%,
        1.296,
        1.294,
        1.285,
        1.269 18.9%,
        1.219 20.9%,
        1.062 25.8%,
        0.995 28.3%,
        0.944 31.1%,
        0.93,
        0.921,
        0.92 35.7%,
        0.926,
        0.94 39.7%,
        1.001 47%,
        1.014,
        1.021 52.4%,
        1.02 56.4%,
        1 65.5%,
        0.994 70.7%,
        1.001 88.4%,
        1);
    --ease-bounce-out: cubic-bezier(0.34, 1.56, 0.64, 1);
    --header-height: 80px;
}

/*-*-*-*-*-*-*-*-*-*-*-*-*
 FONT * Pretendard
*-*-*-*-*-*-*-*-*-*-*-*-*/
@font-face {
    font-family: "Pretendard";
    src: url(./fonts/Pretendard-Thin.woff) format("woff");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url(./fonts/Pretendard-ExtraLight.woff) format("woff");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url(./fonts/Pretendard-Light) format("woff");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url(./fonts/IBMPlexSansKR-Medium.woff) format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url(./fonts/Pretendard-Medium.woff) format("woff");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url(./fonts/Pretendard-SemiBold.woff) format("woff");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url(./fonts/Pretendard-Bold.woff) format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url(./fonts/Pretendard-ExtraBold.woff) format("woff");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url(./fonts/Pretendard-Black) format("woff");
    font-weight: 900;
    font-style: normal;
}

body {
    font-family: "Pretendard", sans-serif;
    font-weight: 500;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: -0.025em;
    word-break: keep-all;
}

p {
    font-family: "Pretendard";
    color: #212529;
    font-weight: 400;
    word-break: keep-all;
}

h1 {
    font-size: 36px;
    color: #212529;
    font-weight: 700;
}

h2 {
    font-size: 32px;
    color: #212529;
    font-weight: 700;
}

h3 {
    font-size: 24px;
    color: #212529;
    font-weight: 600;
}

h4 {
    font-size: 20px;
    color: #212529;
    font-weight: 500;
}

h5 {
    font-size: 16px;
    color: #212529;
    font-weight: 400;
}

a {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.thin {
    font-weight: 200 !important;
}

.light {
    font-weight: 300 !important;
}

.normal {
    font-weight: 400 !important;
}

.semi-bold {
    font-weight: 600 !important;
}

.bold {
    font-weight: 700 !important;
}

.bolder {
    font-weight: 800 !important;
}

.white {
    color: #ffffff;
}

.wf-50 {
    color: #f7f7f7;
}

.wf-100 {
    color: #f8f9fa;
}

.wf-200 {
    color: #e9ecef;
}

.wf-300 {
    color: #dee2e6;
}

.wf-400 {
    color: #ced4da;
}

.wf-500 {
    color: #adb5bd;
}

.wf-600 {
    color: #6c757d;
}

.wf-700 {
    color: #495057;
}

.wf-600 {
    color: #343a40;
}

.wf-900 {
    color: #212529;
}

/* 버튼:공통 */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    padding: 12px 20px;
    border-radius: 8px;
    white-space: nowrap;
    transition: 0.2s;
    cursor: pointer;
    box-sizing: border-box;
    line-height: 1.5;
}

.btn-solid {
    background: var(--primary-blue100);
    color: var(--wf-white);
}

.btn-soft {
    background: var(--primary-soft-blue100);
    color: var(--primary-blue100);
}

.btn-dark {
    background: var(--primary-blue400);
    color: var(--wf-white);
}

.btn-line {
    border: 1px solid var(--primary-blue100);
    background: var(--wf-white);
    color: var(--primary-blue100);
}

.btn-dis {
    background: var(--wf-300);
    color: var(--wf-600);
}





/* 더미 색상 표현 추가.주영 */
.text-red {
    color: var(--primary-red);
}

.text-blue100 {
    color: var(--primary-blue100);
}

.text-blue200 {
    color: var(--primary-blue200);
}

.text-blue300 {
    color: var(--primary-blue300);
}

.text-blue300 {
    color: var(--primary-blue400);
}







/* ==================================================
  form - checkbox, input, select, textarea css
===================================================== */


input,
select {
    font-size: 18px;
    height: 45px;
    padding: 0 18px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    ;
    border-radius: 6px;
}

textarea {
    height: auto;
    min-height: 120px;
    padding: 12px 18px;
    line-height: 1.5;
    resize: vertical;
    /* 세로만 크기조절, 가로 늘어짐 방지 */
}

input::placeholder,
textarea::placeholder {
    color: var(--wf-500);
    font-weight: 300;
}

/* iOS/사파리 기본 스타일 제거 (둥근 모서리·내부 그림자 방지) */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 6px;
}

/* number 입력 화살표(스피너) 제거 */
input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 자동완성 시 노란/파란 배경 제거 */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--wf-white) inset;
    -webkit-text-fill-color: var(--wf-900);
}

/* 비활성 상태 */
input:disabled,
textarea:disabled,
select:disabled {
    background: var(--wf-100);
    color: var(--wf-500);
    cursor: not-allowed;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-blue100);
    box-shadow: 0 0 0 3px var(--primary-soft-blue100);
}

label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    cursor: pointer;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    position: relative;
    flex-shrink: 0;

    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;

    border: 1px solid var(--border);
    border-radius: var(--radius-4);
    background: var(--wf-white);

    cursor: pointer;
    transition: 0.2s;
    vertical-align: middle;
}

input[type="checkbox"]::after {
    content: "";

    position: absolute;
    top: 3px;
    left: 6px;

    width: 5px;
    height: 9px;

    border: solid var(--wf-white);
    border-width: 0 2px 2px 0;

    transform: rotate(45deg) scale(0);
    transition: 0.15s;
}

input[type="checkbox"]:checked {
    border-color: var(--primary-blue100);
    background: var(--primary-blue100);
}

input[type="checkbox"]:checked::after {
    transform: rotate(45deg) scale(1);
}

input[type="checkbox"]:focus-visible {
    box-shadow: 0 0 0 3px var(--primary-soft-blue100);
}

::selection {
    background: var(--bg);
    color: var(--wf-800);
}