@charset "utf-8";

/* ==========================================================================
    공통 스타일 시트 탬플릿
   ========================================================================== */

/* ==========================================================================
    Table of Contents
   --------------------------------------------------------------------------
    00. Reset / Base
    01. Root
    02. Common
    03. Utility
    04. Decoration
    05. Interactive-inner
    06. Header
    07. Navigation
    08. Layout
    09. Component
    10. Menu
    11. Main
    12. Footer
    13. Etc
   ========================================================================== */

/* ==========================================================================
    사용된 폰트 종류
   --------------------------------------------------------------------------
    메인 : 프리텐다드 Pretendard
   ========================================================================== */

/* ==========================================================================
    00. Reset / Base
   ========================================================================== */

* {
    -webkit-tap-highlight-color: transparent;
}

/* 폰트 rem 단위 */
html {
    font-size: 62.5%; /* 10px */
}

/* 여백초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 테이블선 중첩 */
table {
    border-collapse: collapse;
    width: 100%;
}

/* 목록스타일 초기화 */
ol, ul {
    list-style: none;
}

/* 하이퍼링크 초기화*/
a {
    text-decoration: none;
    display: block;
    color: #333333;
}

img {
    display: block;
}

/* 글자기울임 초기화*/
address, em, i {
    font-style: normal;
}

/* 폼그룹명 숨기기 */
legend {
    display: none;
}

/* 폼그룹 테두리 없애기 */
input,
select {
    vertical-align: middle;
    box-sizing: border-box;
    border: none;
    outline: none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    line-height: 1;
}

input:focus,
select:focus {
    outline: none;
    box-shadow: none;
    box-sizing: border-box;
}

    input[type="radio"] {
        display: none;
    }

    input[type="date"] {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        position: relative;
        direction: ltr !important;
        text-align: left !important;
    }

textarea {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    box-sizing: border-box;
    font: inherit;
    color: inherit;
    outline: none;
    resize: vertical;
}

/* 버튼 초기화 */
button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    box-sizing: border-box;
    min-width: 0;
    line-height: 1;
}

*, *::before, *::after {
    box-sizing: border-box;
}

span {
    line-height: 1;
}


/* ==========================================================================
    01. Root
   ========================================================================== */

:root {
    /* ----------------------------
        var 변수 선언
       ---------------------------- */

    /* Typography 타이포그래피 */
    --font-family-pretendard: 'Pretendard', sans-serif;

    --font-size-xxs: 1rem;
    --font-size-xs: 1.2rem;
    --font-size-sm: 1.4rem;
    --font-size-md: 1.6rem;
    --font-size-lg: 1.8rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.4rem;
    --font-size-headline: 2.8rem;
    --font-size-display: 3.6rem;
    --font-size-hero: 4.8rem;

    --line-height-sm: 1.4;
    --line-height-md: 1.5;
    --line-height-lg: 1.6;

    /* Spacing 간격 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;

    /* Border & Radius 선 및 둥글기 */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --border-width: 1px;
    --border-color: var(--color-border);

    /* Padding 패딩 */
    --padding-20: 20px;

    --list-px-sm: 8px 20px;
    --list-px-md: 12px 20px;

    /* Box shadow 그림자 */
    --box-shadow-050: 0 1px 1px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.12);
    --box-shadow-100: 0 1px 2px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.16);
    --box-shadow-200: 0 1px 3px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.16);
    --box-shadow-300: 0 2px 3px rgba(0,0,0,0.12), 0 2px 5px rgba(0,0,0,0.16);
    --box-shadow-400: 0 3px 4px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.20);
    --box-shadow-500: 0 4px 6px rgba(0,0,0,0.16), 0 4px 8px rgba(0,0,0,0.20);
    --box-shadow-600: 0 5px 7px rgba(0,0,0,0.16), 0 5px 9px rgba(0,0,0,0.20);
    --box-shadow-700: 0 6px 8px rgba(0,0,0,0.20), 0 6px 10px rgba(0,0,0,0.24);
    --box-shadow-800: 0 7px 9px rgba(0,0,0,0.20), 0 7px 12px rgba(0,0,0,0.24);
    --box-shadow-900: 0 8px 10px rgba(0,0,0,0.20), 0 8px 14px rgba(0,0,0,0.24);
    --box-shadow-1000: 0 8px 12px rgba(0,0,0,0.20), 0 12px 16px rgba(0,0,0,0.24);

    --box-shadow-inset-100: inset 0 1px 1px rgba(0, 0, 0, 0.12);
    --box-shadow-inset-200: inset 0 2px 2px rgba(0, 0, 0, 0.12);
    --box-shadow-inset-300: inset 0 3px 3px rgba(0, 0, 0, 0.12);

    /* Transition 트랜지션 */
    --transition-03: all 0.3s;
    --transition-05: all 0.5s;

    /* Color 색깔 */
    --gray-050: #f6f6f6;
    --gray-100: #f2f2f2;
    --gray-200: #eeeeee;
    --gray-300: #dddddd;
    --gray-400: #cccccc;
    --gray-500: #bbbbbb;
    --gray-600: #aaaaaa;
    --gray-700: #999999;
    --gray-800: #666666;
    --gray-900: #333333;

    --purple-100: #624498;
    --purple-200: #624498;
    --purple-300: #624498;
    --purple-400: #624498;
    --purple-500: #624498;
    --purple-600: #624498;
    --purple-700: #624498;
    --purple-800: #624498;
    --purple-900: #624498;

    --color-blue: #04A0F0;
    --color-skyblue: #bfe8ff;
    --color-red: #CF0000;
    --color-orange: #FF8C00;
    --color-yellow: #FFCE00;
    --color-green: #1E9700;
    --color-purple: #624498;

    --point-gray: #666666;
    --point-blue: #04A0F0;
    --point-skyblue: #bfe8ff;
    --point-red: #CF0000;
    --point-orange: #FF8C00;
    --point-yellow: #FFCE00;
    --point-green: #1E9700;
    --point-purple: #624498;

    --point-pale-blue: #E6F2FF;
    --point-pale-orange: #FFF4E5;
    --point-pale-green: #EAF7EA;
    --point-pale-red: #fae8ea;

    --point-bluegray-050: #cfd8e0;
    --point-bluegray-100: #ADB5BD;
    --point-bluegray-400: #808D9A;
    --point-bluegray-600: #6b7280;
    --point-bluegray-800: #4b5563;

    /* Icon 아이콘 */
    --icon-size-sm: 16px;
    --icon-size-md: 24px;
    --icon-size-lg: 32px;

    /* ── NEW ─────────────────────────────────────────────────── */
    /* ──  ────────────────────────────────────────────────────── */

    --bluegray-text: #5e6b7a;
    --bluegray-bg: #eff3f6;

    --main-bluegray: var(--point-bluegray-400);
    --sub-bluegray: var(--point-bluegray-100);
    --pale-bluegray: var(--point-bluegray-050);

    /* 폰트 */
    --font-coding: 'Nanum Gothic Coding';
    --font-family: var(--font-family-pretendard);

    /* 보더 */
    --border-gray-100: #dddddd 1px solid;
    --border-gray-200: #cccccc 1px solid;
    --border-gray-300: #aaaaaa 1px solid;

    --main-border: var(--border-gray-300);
    --sub-border: var(--border-gray-100);

    --box-shadow-floating-card : var(--box-shadow-1000);
    --shadow-input: var(--box-shadow-inset-100);

    --gray-background: var(--gray-100);
    --bg-input: var(--gray-050);
}


/* ==========================================================================
    02. Common
   ========================================================================== */

body {
    font-family: var(--font-family);
    line-height: 1.4;
    font-size: 1.4rem;
    position: relative;
}

.wrap {
    color: #333333;
    position: relative;
}

h1, h2, h3, h4, h5, h6, p {
    font-family: var(--font-family);
}

i {
    font-size: 2.4rem;
}

button {
    font-family: var(--font-family);
    line-height: 1;
}

span {
    line-height: 1;
}

/* ==========================================================================
    03. Utility
   ========================================================================== */

/* ── margin 마진 ───────────────────────────────────────────── */

.ms-0,
.mt-0 {
    margin-top: 0;
}

.ms-4,
.mt-4 {
    margin-top: 4px;
}

.ms-8,
.mt-8 {
    margin-top: 8px;
}

.ms-10,
.mt-10 {
    margin-top: 10px;
}

.ms-12,
.mt-12 {
    margin-top: 12px;
}

.ms-16,
.mt-16 {
    margin-top: 16px;
}

.ms-20,
.mt-20 {
    margin-top: 20px;
}

.ms-24,
.mt-24 {
    margin-top: 24px;
}

.ms-28,
.mt-28 {
    margin-top: 28px;
}

.ms-30,
.mt-30 {
    margin-top: 30px;
}

.ms-32,
.mt-32 {
    margin-top: 32px;
}

.ms-36,
.mt-36 {
    margin-top: 36px;
}

.ms-40,
.mt-40 {
    margin-top: 40px;
}

.ms-44,
.mt-44 {
    margin-top: 44px;
}

.ms-48,
.mt-48 {
    margin-top: 48px;
}

.ms-50,
.mt-50 {
    margin-top: 50px;
}

.ms-60,
.mt-60 {
    margin-top: 60px;
}

.ms-70,
.mt-70 {
    margin-top: 70px;
}

.ms-80,
.mt-80 {
    margin-top: 80px;
}

.ms-90,
.mt-90 {
    margin-top: 90px;
}

.ms-100,
.mt-100 {
    margin-top: 100px;
}

.ms-0,
.mb-0 {
    margin-bottom: 0;
}

.ms-4,
.mb-4 {
    margin-bottom: 4px;
}

.ms-8,
.mb-8 {
    margin-bottom: 8px;
}

.ms-10,
.mb-10 {
    margin-bottom: 10px;
}

.ms-12,
.mb-12 {
    margin-bottom: 12px;
}

.ms-16,
.mb-16 {
    margin-bottom: 16px;
}

.ms-20,
.mb-20 {
    margin-bottom: 20px;
}

.ms-24,
.mb-24 {
    margin-bottom: 24px;
}

.ms-28,
.mb-28 {
    margin-bottom: 28px;
}

.ms-30,
.mb-30 {
    margin-bottom: 30px;
}

.ms-32,
.mb-32 {
    margin-bottom: 32px;
}

.ms-36,
.mb-36 {
    margin-bottom: 36px;
}

.ms-40,
.mb-40 {
    margin-bottom: 40px;
}

.ms-44,
.mb-44 {
    margin-bottom: 44px;
}

.ms-48,
.mb-48 {
    margin-bottom: 48px;
}

.ms-50,
.mb-50 {
    margin-bottom: 50px;
}

.ms-60,
.mb-60 {
    margin-bottom: 60px;
}

.ms-70,
.mb-70 {
    margin-bottom: 70px;
}

.ms-80,
.mb-80 {
    margin-bottom: 80px;
}

.ms-90,
.mb-90 {
    margin-bottom: 90px;
}

.ms-100,
.mb-100 {
    margin-bottom: 100px;
}

.mx-0,
.ml-0 {
    margin-left: 0;
}

.mx-4,
.ml-4 {
    margin-left: 4px;
}

.mx-8,
.ml-8 {
    margin-left: 8px;
}

.mx-10,
.ml-10 {
    margin-left: 10px;
}

.mx-12,
.ml-12 {
    margin-left: 12px;
}

.mx-16,
.ml-16 {
    margin-left: 16px;
}

.mx-20,
.ml-20 {
    margin-left: 20px;
}

.mx-24,
.ml-24 {
    margin-left: 24px;
}

.mx-28,
.ml-28 {
    margin-left: 28px;
}

.mx-32,
.ml-32 {
    margin-left: 32px;
}

.mx-36,
.ml-36 {
    margin-left: 36px;
}

.mx-40,
.ml-40 {
    margin-left: 40px;
}

.mx-44,
.ml-44 {
    margin-left: 44px;
}

.mx-48,
.ml-48 {
    margin-left: 48px;
}

.mx-50,
.ml-50 {
    margin-left: 50px;
}

.mx-60,
.ml-60 {
    margin-left: 60px;
}

.mx-0,
.mr-0 {
    margin-right: 0;
}

.mx-4,
.mr-4 {
    margin-right: 4px;
}

.mx-8,
.mr-8 {
    margin-right: 8px;
}

.mx-10,
.mr-10 {
    margin-right: 10px;
}

.mx-12,
.mr-12 {
    margin-right: 12px;
}

.mx-16,
.mr-16 {
    margin-right: 16px;
}

.mx-20,
.mr-20 {
    margin-right: 20px;
}

.mx-24,
.mr-24 {
    margin-right: 24px;
}

.mx-28,
.mr-28 {
    margin-right: 28px;
}

.mx-30,
.mr-30 {
    margin-right: 30px;
}

.mx-32,
.mr-32 {
    margin-right: 32px;
}

.mx-36,
.mr-36 {
    margin-right: 36px;
}

.mx-40,
.mr-40 {
    margin-right: 40px;
}

.mx-44,
.mr-44 {
    margin-right: 44px;
}

.mx-48,
.mr-48 {
    margin-right: 48px;
}

.mx-50,
.mr-50 {
    margin-right: 50px;
}

.mx-60,
.mr-60 {
    margin-right: 60px;
}

.m-0 {
    margin: 0;
}

.m-4 {
    margin: 4px;
}

.m-8 {
    margin: 8px;
}

.m-10 {
    margin: 10px;
}

.m-12 {
    margin: 12px;
}

.m-16 {
    margin: 16px;
}

.m-20 {
    margin: 20px;
}

.m-24 {
    margin: 24px;
}

.m-28 {
    margin: 24px;
}

.m-30 {
    margin: 30px;
}

.m-32 {
    margin: 30px;
}

.m-40 {
    margin: 40px;
}

/* ── padding 패딩 ───────────────────────────────────────────── */

.ps-0,
.pt-0 {
    padding-top: 0;
}

.ps-4,
.pt-4 {
    padding-top: 4px;
}

.ps-10,
.pt-10 {
    padding-top: 10px;
}

.ps-12,
.pt-12 {
    padding-top: 12px;
}

.ps-16,
.pt-16 {
    padding-top: 16px;
}

.ps-20,
.pt-20 {
    padding-top: 20px;
}

.ps-24,
.pt-24 {
    padding-top: 24px;
}

.ps-28,
.pt-28 {
    padding-top: 28px;
}

.ps-30,
.pt-30 {
    padding-top: 30px;
}

.ps-32,
.pt-32 {
    padding-top: 32px;
}

.ps-36,
.pt-36 {
    padding-top: 36px;
}

.ps-40,
.pt-40 {
    padding-top: 40px;
}

.ps-44,
.pt-44 {
    padding-top: 44px;
}

.ps-48,
.pt-48 {
    padding-top: 48px;
}

.ps-50,
.pt-50 {
    padding-top: 50px;
}

.ps-60,
.pt-60 {
    padding-top: 60px;
}

.ps-70,
.pt-70 {
    padding-top: 70px;
}

.ps-80,
.pt-80 {
    padding-top: 80px;
}

.ps-90,
.pt-90 {
    padding-top: 90px;
}

.ps-100,
.pt-100 {
    padding-top: 100px;
}

.ps-0,
.pb-0 {
    padding-bottom: 0;
}

.ps-4,
.pb-4 {
    padding-bottom: 4px;
}

.ps-8,
.pb-8 {
    padding-bottom: 8px;
}

.ps-10,
.pb-10 {
    padding-bottom: 10px;
}

.ps-12,
.pb-12 {
    padding-bottom: 12px;
}

.ps-16,
.pb-16 {
    padding-bottom: 16px;
}

.ps-20,
.pb-20 {
    padding-bottom: 20px;
}

.ps-24,
.pb-24 {
    padding-bottom: 24px;
}

.ps-28,
.pb-28 {
    padding-bottom: 28px;
}

.ps-30,
.pb-30 {
    padding-bottom: 30px;
}

.ps-32,
.pb-32 {
    padding-bottom: 32px;
}

.ps-36,
.pb-36 {
    padding-bottom: 36px;
}

.ps-40,
.pb-40 {
    padding-bottom: 40px;
}

.ps-44,
.pb-44 {
    padding-bottom: 44px;
}

.ps-48,
.pb-48 {
    padding-bottom: 48px;
}

.ps-50,
.pb-50 {
    padding-bottom: 50px;
}

.ps-60,
.pb-60 {
    padding-bottom: 60px;
}

.ps-70,
.pb-70 {
    padding-bottom: 70px;
}

.ps-80,
.pb-80 {
    padding-bottom: 80px;
}

.ps-90,
.pb-90 {
    padding-bottom: 90px;
}

.ps-100,
.pb-100 {
    padding-bottom: 100px;
}

.px-0,
.pl-0 {
    padding-left: 0;
}

.px-4,
.pl-4 {
    padding-left: 4px;
}

.px-8,
.pl-8 {
    padding-left: 8px;
}

.px-10,
.pl-10 {
    padding-left: 10px;
}

.px-12,
.pl-12 {
    padding-left: 12px;
}

.px-16,
.pl-16 {
    padding-left: 16px;
}

.px-20,
.pl-20 {
    padding-left: 20px;
}

.px-24,
.pl-24 {
    padding-left: 24px;
}

.px-28,
.pl-28 {
    padding-left: 28px;
}

.px-32,
.pl-32 {
    padding-left: 32px;
}

.px-36,
.pl-36 {
    padding-left: 36px;
}

.px-40,
.pl-40 {
    padding-left: 40px;
}

.px-44,
.pl-44 {
    padding-left: 44px;
}

.px-48,
.pl-48 {
    padding-left: 48px;
}

.px-50,
.pl-50 {
    padding-left: 50px;
}

.px-60,
.pl-60 {
    padding-left: 60px;
}

.px-0,
.pr-0 {
    padding-right: 0;
}

.px-4,
.pr-4 {
    padding-right: 4px;
}

.px-8,
.pr-8 {
    padding-right: 8px;
}

.px-10,
.pr-10 {
    padding-right: 10px;
}

.px-12,
.pr-12 {
    padding-right: 12px;
}

.px-16,
.pr-16 {
    padding-right: 16px;
}

.px-20,
.pr-20 {
    padding-right: 20px;
}

.px-24,
.pr-24 {
    padding-right: 24px;
}

.px-28,
.pr-28 {
    padding-right: 28px;
}

.px-30,
.pr-30 {
    padding-right: 30px;
}

.px-32,
.pr-32 {
    padding-right: 32px;
}

.px-36,
.pr-36 {
    padding-right: 36px;
}

.px-40,
.pr-40 {
    padding-right: 40px;
}

.px-44,
.pr-44 {
    padding-right: 44px;
}

.px-48,
.pr-48 {
    padding-right: 48px;
}

.px-50,
.pr-50 {
    padding-right: 50px;
}

.px-60,
.pr-60 {
    padding-right: 60px;
}

.p-0 {
    padding: 0;
}

.p-4 {
    padding: 4px;
}

.p-8 {
    padding: 8px;
}

.p-10 {
    padding: 10px;
}

.p-12 {
    padding: 12px;
}

.p-16 {
    padding: 16px;
}

.p-20 {
    padding: 20px;
}

.p-24 {
    padding: 24px;
}

.p-28 {
    padding: 24px;
}

.p-30 {
    padding: 30px;
}

.p-32 {
    padding: 30px;
}

.p-40 {
    padding: 40px;
}

/* ── display 디스플레이 ───────────────────────────────────────────── */

.d-none {
    display: none !important;
}

.d-block {
    display: block;
}

.d-inline {
    display: inline;
}

.d-inline-block {
    display: inline-block;
}

.d-inline-flex {
    display: inline-flex;
}

.d-flex {
    display: flex;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.flex-direction-row {
    flex-direction: row;
}

.flex-direction-row-reverse {
    flex-direction: row-reverse;
}

.flex-direction-column {
    flex-direction: column;
}

.flex-direction-column-reverse {
    flex-direction: column-reverse;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-0 {
    flex: 0;
}

.flex-1 {
    flex: 1;
}

/* ── gap 갭 ───────────────────────────────────────────── */

.gap-4 {
    gap: 4px;
}

.gap-8 {
    gap: 8px;
}

.gap-10 {
    gap: 10px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.gap-20 {
    gap: 20px;
}

.gap-24 {
    gap: 24px;
}

.gap-28 {
    gap: 28px;
}

.gap-30 {
    gap: 30px;
}

.gap-32 {
    gap: 32px;
}

.gap-36 {
    gap: 36px;
}

.gap-40 {
    gap: 40px;
}

/* ── cross-axis 정렬 ───────────────────────────────────────────── */

.align-items-left {
    align-items: flex-start;
}

.align-items-center {
    align-items: center;
}

.align-items-end {
    align-items: end;
    align-items: flex-end;
}

.align-content-start {
    align-content: start;
    align-content: flex-start;
}

.align-content-end {
    align-content: end;
    align-content: flex-end;
}

.justify-content-left {
    justify-content: flex-start;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-right {
    justify-content: flex-end;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-around {
    justify-content: space-around;
}

.justify-content-start {
    justify-content: flex-start;
}

.justify-content-end {
    justify-content: flex-end;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-visible {
    overflow: visible;
}

.overflow-auto {
    overflow: auto;
}

.overflow-scroll {
    overflow: scroll;
}

.overflow-y-scroll {
    overflow-y: scroll;
}

.overflow-x-scroll {
    overflow-x: scroll;
}

/* ── position 포지션 ───────────────────────────────────────────── */

.p-relative {
    position: relative;
}

.p-absolute {
    position: absolute;
}

.p-sticky {
    position: sticky;
}

.p-fixed {
    position: fixed;
}

.p-static {
    position: static;
}

.position-0 {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.z-index-0 {
    z-index: 0;
}

.z-index-1 {
    z-index: 9;
}

.z-index-1n {
    z-index: 10;
}

.z-index-2 {
    z-index: 99;
}

.z-index-2n {
    z-index: 100;
}

.z-index-3 {
    z-index: 999;
}

.z-index-3n {
    z-index: 1000;
}

/* ── text 글자 ───────────────────────────────────────────── */

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

.word-break-all {
    word-break: break-all;
}

.word-keep-all {
    word-break: keep-all;
}

.ws-pre {
    white-space: pre;
}

.ws-pre-line {
    white-space: pre-line;
}

.ws-pre-wrap {
    white-space: pre-wrap;
}

.ws-nowrap {
    white-space: nowrap;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-underline {
    text-decoration: underline;
}

.bold-100 {
    font-weight: 100;
}

.bold-200 {
    font-weight: 200;
}

.bold-300 {
    font-weight: 300;
}

.bold-400 {
    font-weight: 400;
}

.bold-500 {
    font-weight: 500;
}

.bold-600 {
    font-weight: 600;
}

.bold-700 {
    font-weight: 700;
}

.bold-800 {
    font-weight: 800;
}

.bold-900 {
    font-weight: 900;
}

.lh-0 {
    line-height: 0;
}

.lh-1 {
    line-height: 1;
}

.lh-1-4 {
    line-height: 1.4;
}

/* ── border & radius 선 및 둥글기 ───────────────────────────────── */

.border-black-solid {
    border: #333333 1px solid;
}

/* ── background 배경 ───────────────────────────────────────────── */

.bg-white {
    background-color: #FFFFFF;
}

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

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

/* ── color 색깔 ─────────────────────────────────────────────────── */

.color-point-red {
    color: var(--point-red);
}

.color-bluegray {
    color: var(--main-bluegray);
}

.color-blue {
    color: var(--point-blue);
}

/* ── width & height 너비 및 높이 ─────────────────────────────────── */

.w-100vw {
    width: 100vw;
}

.w-100dvw {
    width: 100dvw;
}

.h-100 {
    height: 100%;
}

.h-100vh {
    height: 100vh;
}

.h-100dvh {
    height: 100dvh;
}

.w-10 {
    width: 50%;
}

.w-20 {
    width: 20%;
}

.w-30 {
    width: 30%;
}

.w-40 {
    width: 40%;
}

.w-50 {
    width: 50%;
}

.w-60 {
    width: 60%;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.w-90 {
    width: 90%;
}

.w-100 {
    width: 100%;
}

.h-50 {
    height: 50%;
}

/* ── Interaction 인터랙션 ─────────────────────────────────── */

.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.no-select {
    user-select: none;
}

.no-click {
    pointer-events: none;
}


/* ==========================================================================
    04. Decoration       
   ========================================================================== */

/* ───────────────────────────────────────────
 *   [데코레이션] skeleton 스켈레톤
 * -------------------------------------------
 *   .skeleton
 * ─────────────────────────────────────────── */

.skeleton {
    position: relative;
    background-color: #eeeeee;
    overflow: hidden;
    border-radius: 8px;
}

.skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    height: 100%;
    width: 150px;
    background: linear-gradient(60deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: all 0.6s ease-in-out;
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

    .skeleton.line {
        min-height: 14px;
        width: 100%;
    }

    .skeleton.square {
        min-height: 24px;
        min-width: 24px;
        width: 100%;
    }

    .skeleton.block {
        min-height: 38px;
        width: 100%;
        border-radius: 6px;
    }

    .skeleton.button {
        min-height: 32px;
        width: 100%;
        border-radius: 40px;
    }

    .skeleton.circle {
        width: 48px;
        height: 48px;
        border-radius: 50%;
    }


/* ───────────────────────────────────────────
 *   [데코레이션] 주석 표시
 * -------------------------------------------
 *   .asterisk
 * ─────────────────────────────────────────── */

.asterisk {
    position: relative;
}

.asterisk::after {
    content: "*";
    position: absolute;
    top: 0;
    right: -12px;
    color: var(--point-blue);
}


/* ==========================================================================
    05. Interactive inner
   ========================================================================== */

.inner {
    max-width: 700px;
    margin: 0 auto;
}

    @media (max-width:700px) {
        .inner {
            max-width: calc(100% - 60px);
        }
    }

/* ── 여백 없음 ───────────────────────────────────────────── */

.max-inner {
    max-width: 700px;
    margin: 0 auto;
}

/* ── 기본 여백 ───────────────────────────────────────────── */

.content-inner {
    --side-padding: 160px;
    width: calc(100% - (var(--side-padding) * 2));
    max-width: 1440px;
    margin: 0 auto;
}

    @media (max-width: 1440px) {
        .content-inner {
            --side-padding: 100px;
        }
    }

    @media (max-width: 1222px) {
        .content-inner {
            --side-padding: 80px;
        }
    }

    @media (max-width: 1024px) {
        .content-inner {
            --side-padding: 48px;
        }
    }

    @media (max-width: 768px) {
        .content-inner {
            --side-padding: 32px;
        }
    }

    @media (max-width: 600px) {
        .content-inner {
            --side-padding: 16px;
        }
    }

.page-inner {
    margin: 0 auto;
    width: calc(100% - 200px);
    max-width: 1440px;
}

    @media (max-width:1222px) {
        .page-inner {
            width: calc(100% - 160px);
        }
    }

    @media (max-width:768px) {
        .page-inner {
            width: calc(100% - 64px);
        }
    }

    @media (max-width:500px) {
        .page-inner {
            width: calc(100% - 32px);
        }
    }

/* ── 모바일 여백 ───────────────────────────────────────────── */

.header-inner,
.main-inner,
.common-inner,
.footer-inner {
    margin: 0 auto;
    width: calc(100% - 120px);
    /* max-width: 500px; */
}

@media (max-width:768px) {
    .main-inner,
    .common-inner,
    .header-inner {
        width: calc(100% - 40px);
    }
}

/* ==========================================================================
    06. Header
   ========================================================================== */

.show-web {
    display: block;
}

.show-mobile {
    display: none;
}

@media (max-width:700px) {
    .show-web {
        display: none;
    }

    .show-mobile {
        display: block;
    }
}

/* ───────────────────────────────────────────
 *   [헤더] common 헤더 공통
 * -------------------------------------------
 *   .header
 * ─────────────────────────────────────────── */

.header {
    background-color: #ffffff;
}

    .border-bottom-gray {
        border-bottom: #dddddd 1px solid;
    }

.header .logo .logo-img {
    height: 22px;
    width: auto;
    cursor: pointer;
}

.header .header-bar {
    height: 60px;
}

.header-bar {
    display: flex;
    align-items: center;
}

.header-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--main-bluegray);
}

.header-right {
    display: flex;
    justify-content: space-between;
}

.header-btn {
    display: flex;
    align-items: center;
}

    .header .account-name {
        font-weight: 500;
        margin-right: 6px;
        color: var(--main-bluegray);
    }

    .header .account-btn {
        position: relative;
    }

    .header .account-btn-opened {
        position: absolute;
        top: 7px;
        right: 7px;
        background-color: #f5f5f5;
        border: 1px solid #f5f5f5;
        z-index: 10;
    }

.header-user-type {
    width: 100%;
    height: 60px;
}

.user-type-height {
    height: 60px;
}

/* ── [인터랙션] 헤더 고정 ─────────────────────────────────── */

.scroll-hide-header {
    position: sticky;
    top: 0;
    z-index: 9;
    transition: var(--transition-03);
}

.scroll-hide-header.hide {
    transform: translateY(-100%);
}

/* ───────────────────────────────────────────
 *   [헤더] 헤더 스타일
 * -------------------------------------------
 *   .main-header 메인 헤더
 *   .sub-header 서브 헤더
 *   .layer-header 레이어 헤더
 *   .page-header 페이지 헤더
 * ─────────────────────────────────────────── */

.main-header {
    box-shadow: var(--light-shadow);
    z-index: 9;
}

.layer-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;
}

.layer-header .close-btn {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.layer-header .header-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.layer-header .header-title {
    color: #333333;
    font-weight: 600;
}

.page-header {
    position: relative;
    border-bottom: 0;
    width: 100%;
}

.page-header .header-title {
    color: #333333;
    font-weight: 500;
}

.page-header .back-btn {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.page-header .back-icon {
    color: var(--sub-bluegray);
}

.menu-header .menu-btn .icon {
    font-size: 2rem;
    color: var(--point-bluegray-100);
}

.back-icon-gray,
.close-icon-gray {
    font-size: 2rem;
    color: var(--sub-bluegray);
}


/* ───────────────────────────────────────────
 *   [헤더] 헤더 회원정보
 * -------------------------------------------
 *   .account
 * ─────────────────────────────────────────── */

.header .account {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 16px;
}

.header .account-box {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 36px 20px 16px 20px;
    z-index: 11 !important;
    min-width: 250px;
    max-width: 100%;
    width: max-content;
    border: var(--sub-border);
}

.account .account-box {
    display: none;
    opacity: 0;
    transform: translate(--transition-03);
}

.account.show .account-box {
    display: block;
    opacity: 1;
    transform: translate(--transition-03);
}
  
    .account-bottom {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

        .account .clinic-name {
            font-size: 1.6rem;
            font-weight: 500;
            color: var(--main-bluegray);
        }

        .account .user-name {
            font-size: 1.8rem;
            font-weight: 500;
            color: var(--main-bluegray);
        }

        .user-type .clinic-name {
            font-size: 1.6rem;
            font-weight: 500;
            color: #666666;
        }

        .log-btn {
            display: flex;
            font-weight: 500;
            color: #666666;
        }

        .log-btn .log-icon {
            width: 14px;
            height: auto;
            margin-left: 2px;
        }

        .setting-btn .setting-icon {
            width: 24px;
            height: auto;
        }

        .menu-icon {
            width: auto;
            height: 16px;
        }


/* ==========================================================================
    07. navigation
   ========================================================================== */
 
/* ───────────────────────────────────────────
 *   [네비게이션] sidebar 사이드바
 * -------------------------------------------
 *   .sidebar
 * ─────────────────────────────────────────── */

.nav-sidebar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 99;
}

.sidebar {
    display: flex;
    flex-direction: column;
    width: 20%;
    height: 100%;
    min-width: 240px;
    max-width: 300px;
    border-right: var(--border-gray-100);
    background-color: #FFFFFF;
    user-select: none;
    -webkit-user-drag: none;
}

    .side-inner {
        margin: 0 auto;
        width: calc(100% - 12px);
    }

    .sidebar-title {
        padding: 20px;
        color: var(--point-color);
        font-size: var(--font-size-md);
    }

.sidebar .section-label {
    padding: 20px;
    padding-bottom: 8px;
    border-bottom: var(--border-gray-100);
    font-size: var(--font-size-xs);
    color: #aaaaaa;
    font-weight: 500;
}

.sidebar .menu-item {
    display: flex;
    align-items: center;
    text-align: left;
    color: #333333;
    font-weight: 400;
    padding: var(--list-px-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-menu);
    cursor: pointer;
}

    .menu-icon {
        width: var(--icon-size-md);
        height: var(--icon-size-md);
        border-radius: var(--radius-xs);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menu-icon .icon {
        color: #333333;
        width: var(--icon-size-sm);
        height: var(--icon-size-sm);
    }

.sidebar .menu-item:hover {
    color: var(--point-color);
}

.sidebar .menu-item.active {
    background-color: #f6f6f6;
    color: var(--point-color);
    font-weight: 500;
}

.side-scroll-wrapper {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.side-scroll {
    flex: 1;
    overflow-y: auto;
    scrollbar-gutter: stable both-edges;
}

    .sidebar .close-btn {
        display: none;
    }

@media screen and (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        background: #fff;
        z-index: 1000;
    }

    .sidebar .close-btn {
        display: block;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #666;
    }
}

/* ───────────────────────────────────────────
 *   [네비게이션] 메뉴 공통 스타일
 * -------------------------------------------
 *   .nav-mobile
 * ─────────────────────────────────────────── */
 
.nav-popup {
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.nav-mobile {
    height: 100vh;
}

.nav-mobile .nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.nav-mobile .nav-header > div {
    display: flex;
    align-items: center;
}

.nav-mobile .nav-header p {
    cursor: pointer;
    font-weight: 400;
    padding: 2px;
}

.nav-mobile .nav-header .log {
    display: flex;
    align-items: center;
}

.nav-mobile .log-icon {
    width: auto;
    height: 16px;
    margin-left: 4px;
}

.nav-mobile .home-icon {
    width: auto;
    height: 20px;
}

.nav-mobile .setting-icon {
    width: auto;
    height: 24px;
}

.nav-mobile .nav-header .mypage-p {
    color: var(--point-blue);
}

.nav-mobile .nav-member {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.nav-mobile .account-picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.nav-mobile .account-picture:hover {
    box-shadow: var(--shadow-white-btn);
}

.nav-mobile .account-picture img {
    width: 30px;
    height: 30px;
}

.nav-mobile .account-title p {
    padding-left: 14px;
    color: #333333;
}

.nav-mobile .account-title .clinic-name {
    font-size: 1.6rem;
    font-weight: 500;
}

.nav-mobile .account-title .customer-name span {
    font-size: 2rem;
    padding-right: 2px;
    font-weight: 600;
}

.nav-mobile .account-title .customer-name {
    font-size: 1.6rem;
}

.nav-mobile .menu-style {
    display: flex;
    float: right;
    cursor: pointer;
    transform: translate(-20px, -40px);
}

.nav-mobile .menu-style .btn img {
    width: 20px;
    height: auto;
}

.nav-mobile .menu-style .line-btn {
    position: relative;
    margin-left: 16px;
}

.nav-mobile .menu-style .line-btn::before {
    content: '|';
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-10px, -2px);
    color: #dddddd;
}

.nav-mobile .menu {
    border-top: var(--sub-border);
    border-bottom: var(--sub-border);
    background-color: #ffffff;
}

.nav-mobile .menu-title {
    font-weight: 500;
}

    .menu-close .icon {
        font-size: 2rem;
    }

.nav-mobile .submenu > li {
    cursor: pointer;
    font-weight: 400;
}

.nav-mobile .submenu > li:hover {
    color: var(--point-blue);
}


/* ───────────────────────────────────────────
 *   [네비게이션] 메뉴 block style 블록형
 * -------------------------------------------
 *   .menu-style-block
 * ─────────────────────────────────────────── */

 .menu-style-block {
    position: relative;
    height: calc(100vh - 140px);
    width: 100%;
 }

 .menu-style-block::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 100%;
    background-color: #dddddd;
 }

 .menu-style-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #f8f8f8;
    z-index: -1;
 }

 .menu-style-block > li {
    border-bottom: #dddddd 1px dashed;
    width: 50%;
    padding: 18px 20px;
    cursor: pointer;
    background-color: #f8f8f8;
 }
 
 .menu-style-block > p {
    width: 50%;
 }

 .menu-style-block .menu-title {
    font-size: 1.6rem;
    text-align: center;
 }

 .menu-style-block > li:hover {
    background-color: #ffffff;
 }

 .menu-style-block > li:hover > p {
    color: var(--point-blue);
 }

 .menu-style-block .submenu {
    position: absolute;
    top: 20px;
    right: calc(50% - 30px);
    transform: translateX(100%);
 }

 .menu-style-block .submenu > li {
    padding: 10px 0;
    margin-bottom: 4px;
    color: #666666;
 }

 .menu-style-block > li.active {
    background-color: #ffffff;
 }

 .menu-style-block > li.active> p {
    color: var(--point-blue);
 }

 
/* ───────────────────────────────────────────
 *   [네비게이션] 메뉴 line style 라인형
 * -------------------------------------------
 *   .menu-style-line
 * ─────────────────────────────────────────── */

 .menu-style-line > li {
    border-bottom: var(--sub-border);
 }

 .menu-style-line .menu-title {
    padding: 12px 20px;
   
    background-color: #f8f8f8;
 }

 .menu-style-line .submenu > li {
    padding: 18px;
    font-size: 1.6rem;
    text-align: center;
    border-bottom: #dddddd 1px dashed;
 }

 .menu-style-line .submenu > li:last-child {
    border-bottom: none;
 }
 
  .menu-style-line > li:last-child {
    border-bottom: none;
 }

/* ==========================================================================
    08. Layout       
   ========================================================================== */

/* ───────────────────────────────────────────
 *   [레이아웃] Typography 타이포그래피 위계
 * -------------------------------------------
 *   
 * ─────────────────────────────────────────── */

.display {
    font-size: var(--font-size-display);
    font-weight: 900;
    line-height: 1.6;
}

.headline {
    font-size: var(--font-size-headline);
    font-weight: 700;
    line-height: 1.6;
}

.title {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    line-height: 1.6;
}

.subtitle {
    font-size: var(--font-size-lg);
    font-weight: 700;
    line-height: 1.6;
}

.description {
    font-size: var(--font-size-md);
    font-weight: 400;
    line-height: 1.6;
    color: #666666;
}

.category {
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: 1.4;
}

.caption {
    font-size: var(--font-size-sm);
    font-weight: 400;
    line-height: 1.4;
}


/* ───────────────────────────────────────────
 *   [레이아웃] 2단 레이아웃
 * -------------------------------------------
 *   .two-column-layout
 * ─────────────────────────────────────────── */

:root {
    --col-gap: 80px;
    --left-w: 1fr;   /* 기본 왼쪽 폭 */
    --right-w: 1fr;  /* 기본 오른쪽 폭 */
}

.two-column-layout {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: var(--col-gap);
}

.layout-left,
.layout-right {
    gap: 40px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.layout-left {
    flex: 0 0 var(--left-w);
}

.layout-right {
    flex: 0 0 var(--right-w);
}

@media (max-width: 1024px) {
    .two-column-layout {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .two-column-layout {
        flex-direction: column;
    }

    .layout-left,
    .layout-right {
        flex: 1 1 auto;
    }
}

/* ───────────────────────────────────────────
 *   [레이아웃] Grid 그리드
 * -------------------------------------------
 *   .grid-layout
 * ─────────────────────────────────────────── */

.grid-layout {
    width: 100%;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

    .grid-1 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

.grid-item {
    min-width: 0;
}

@media (max-width: 1440px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1222px) {
    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ───────────────────────────────────────────
 *   [레이아웃] Sticky
 * -------------------------------------------
 *   .sticky
 * ─────────────────────────────────────────── */

.sticky {
    position: sticky;
    top: var(--sticky-top, 0px);
    z-index: var(--sticky-z, 1);
    height: fit-content;
}

@media (max-width: 768px) {
    .sticky { 
        position: static; 
        top: auto; 
    }
}

/* ── 2단 레이아웃일 경우 ────────────────────────────────── */

.two-column-layout .sticky {
    top: var(--sticky-top, 0px);
}

    /* 왼쪽 고정폭 + 오른쪽 가변 */
    :root {
        --left-w: calc(50% - var(--col-gap)/2);
        --right-w: 1fr;
        --sticky-top: 120px;
    }

    /* 오른쪽 고정폭 + 왼쪽 가변 */
    :root {
        --left-w: 1fr;
        --right-w: calc(50% - var(--col-gap)/2);
        --sticky-top: 120px;
    }

/* ───────────────────────────────────────────
 *   [레이아웃] article 사진 & 글
 * -------------------------------------------
 *   .article-{style}
 * ─────────────────────────────────────────── */

.article-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.article-media {
    flex: 1;
    min-height: 240px;
    background-color: #eeeeee;
    border-radius: var(--radius-md);
}

.article-content {
    flex: 1;
}

/* ───────────────────────────────────────────
 *   [레이아웃] 하단 버튼 영역 고정
 * -------------------------------------------
 *   .scroll-page
 * ─────────────────────────────────────────── */

	.scroll-page {
        height: calc(100dvh - 150px);
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

        .scroll-lock {
            overflow: hidden !important;
            touch-action: none !important;
        }

	.scroll-wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .scroll-area {
        width: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0;
        box-sizing: border-box;
        min-height: 0;
        flex: 1;
    }

    .bottom-area {
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 8px 16px 24px;
        background-color: #ffffff;
        flex-shrink: 0;
    }

    .bottom-area::before {
        content: "";
        position: absolute;
        top: -16px;
        left: 0;
        width: 100%;
        height: 16px;
        background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
        pointer-events: none;
    }

        .page-description {
            display: flex;
            align-items: center;
            color: var(--main-bluegray);
            margin-bottom: 12px;
            padding-left: 12px;
            font-size: 1.4rem;
            line-height: 1.2;
        }

        .page-description .icon {
            font-size: 1.8rem;
            margin-right: 4px;
        }

        .page-button .next-icon {
            margin-left: 8px;
            font-size: 2rem;
        }


/* ==========================================================================
    09. Component    
   ========================================================================== */

/* ───────────────────────────────────────────
 *   [컴포넌트] 페이지 상단 헤딩
 * -------------------------------------------
 *   .page-heading
 *   .page-title-area
 * ─────────────────────────────────────────── */

.page-heading {
    margin-top: 40px;
}

@media (max-width:768px) {
    .page-heading {
        margin-top: 0;
    }
}

.page-context {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.page-label {
    display: block;
    font-size: 1.6rem;
    color: #999999;
    font-weight: 600;
    line-height: 1.5;
}

.page-title {
    font-size: 2.4rem;
    line-height: 1.5;
    font-weight: 700;
    color: #333333;
}

@media (max-width:768px) {
    .page-label {
        display: none;
    }

    .page-title {
        font-size: 1.8rem;
    }
}


/* ───────────────────────────────────────────
 *   [컴포넌트] Tab 탭키
 * -------------------------------------------
 *   .tab-group
 * ─────────────────────────────────────────── */

.tab-group {
    display: flex;
    background-color: var(--gray-100);
    padding: 4px;
    border-radius: 999px;
}

.tab-btn {
    flex: 1;
    padding: 8px 0;
    font-size: var(--font-size-sm);
    color: var(--gray-800);
    border-radius: 9999px;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
}

.tab-btn.active {
    background-color: #ffffff;
    color: var(--point-blue);
    box-shadow: var(--box-shadow-050);
    border: var(--border-gray-100);
}

    @media (max-width:1024px) {
        .tab-btn {
            min-width: 0;
        }

        .tab-group {
            width: 100%;
            min-width: 0;
        }
    }

/* ───────────────────────────────────────────
 *   [컴포넌트] button 버튼 스타일
 * -------------------------------------------
 *   .btn-{style}
 * ─────────────────────────────────────────── */

/* ── 공통 버튼 스타일 ───────────────────────────────────────── */

.btn {
    cursor: pointer;
    /* display: inline-block; */
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-sm);
    line-height: 0;
}

.btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .btn-lg .icon {
        width: auto;
        height: 28px;
    }

    .btn-md .icon {
        width: auto;
        height: 20px;
    }

    .btn-sm .icon {
        width: auto;
        height: 16px;
    }

/* ── 색상 스타일 ──────────────────────────────────────────── */

.black-btn {
    background-color: #333333;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
}

.white-btn {
    background-color: #FFFFFF;
    color: #333333;
    border: 1px solid #DDDDDD;
}

.blue-btn {
    background-color: var(--point-blue);
    color: #FFFFFF;
    border: none;
}

.gray-btn {
    background-color: var(--main-bluegray);
    color: #FFFFFF;
    border: none;
}

.black-border-btn {
    background-color: #FFFFFF;
    color: #333333;
    border: 1px solid #333333;
}

.blue-border-btn {
    background-color: #FFFFFF;
    color: var(--point-blue);
    border: 1px solid var(--point-skyblue);
}

.gray-border-btn {
    background-color: #FFFFFF;
    color: var(--gray-700);
    border: 1px solid #CCCCCC;
}

/* ── 버튼 둥근 정도 ────────────────────────────────────────────── */

.round-btn {
    border-radius: var(--radius-sm);
}

.pill-btn {
    border-radius: 999px;
}

.round-sm {
    border-radius: var(--radius-sm);
}

.round-md {
    border-radius: var(--radius-md);
}

.round-lg {
    border-radius: var(--radius-lg);
}

/* ── 버튼 크기 ────────────────────────────────────────────── */

.btn-sm {
    height: 32px;
    padding: 0 12px;
    font-size: 1.4rem;
    line-height: 0;
}

.btn-md {
    height: 40px;
    padding: 0 16px;
    font-size: 1.5rem;
    line-height: 0;
}

.btn-lg {
    height: 48px;
    padding: 0 24px;
    font-size: 1.6rem;
    line-height: 0;
}

/* ───────────────────────────────────────────
 *   [컴포넌트] 원형 버튼
 * -------------------------------------------
 *   .circle-btn
 * ─────────────────────────────────────────── */

.circle-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: var(--sub-border);
    background: #ffffff;
}

.circle-btn-sm {
    width: 28px;
    height: 28px;
}

.circle-btn-md {
    width: 42px;
    height: 42px;
}

.circle-icon {
    width: 50%;
    height: auto;
}

/* ───────────────────────────────────────────
 *   [컴포넌트] 라운드 박스
 * -------------------------------------------
 *   .round-box
 * ─────────────────────────────────────────── */

.round-box {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: var(--box-shadow-050);
}

/* ───────────────────────────────────────────
 *   [컴포넌트] 배지
 * -------------------------------------------
 *   .badge
 * ─────────────────────────────────────────── */

/* .badge-relative {
    position: relative;
}

.badge {
    position: absolute;
    top: 0;
    right: -24px;
    line-height: 0;
}

.badge-count {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--point-pale-blue);
    color: var(--point-blue);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 500;
} */

/* ───────────────────────────────────────────
 *   [컴포넌트] 핸들 바
 * -------------------------------------------
 *   .handle-bar
 * ─────────────────────────────────────────── */

.handle-bar {
    width: 40px;
    height: 4px;
    background-color: #cccccc;
    border-radius: 10px;
    margin: 0 auto;
}

/* ───────────────────────────────────────────
 *   [컴포넌트] 스크롤 바
 * -------------------------------------------
 *   .scrollbar-basic
 *   .scrollbar-light
 *   .scrollbar-dark
 * ─────────────────────────────────────────── */

/* ── 공통 스크롤바 스타일 ───────────────────────────────────── */

.scrollbar {
    scrollbar-width: auto;
}

.scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.scrollbar::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-clip: padding-box;
}

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

/* ── 기본 테마 ────────────────────────────────────────────── */

.scrollbar-basic {
    scrollbar-color: #aaaaaa transparent;
}

.scrollbar-basic::-webkit-scrollbar-thumb {
    background-color: #cccccc;
}

/* ── 밝은 테마 ────────────────────────────────────────────── */

.scrollbar-light {
    scrollbar-color: #eeeeee transparent;
}

.scrollbar-light::-webkit-scrollbar-thumb {
    background-color: #eeeeee;
}

/* ── 어두운 테마 ──────────────────────────────────────────── */

.scrollbar-dark {
    scrollbar-color: #666666 transparent;
}

.scrollbar-dark::-webkit-scrollbar-thumb {
    background-color: #aaaaaa;
}


/* ───────────────────────────────────────────
 *   [컴포넌트] 리스트 스타일 (점선)
 * -------------------------------------------
 *   .list-container
 * ─────────────────────────────────────────── */

.list-container .list-item {
    border-bottom: #dddddd 1px dashed;
}

.list-container .list-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 36px;
}

    .list-container .list-item:last-child {
        border-bottom: none;
    }

.list-container .user-info {
    line-height: 1.4;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE/Edge */
}

.list-container .list-title {
    font-size: 1.6rem;
    padding-bottom: 4px;
    font-weight: 600;
}

.list-container .list-sub-title {
    font-size: 1.4rem;
    color: #808D9A;
}


/* ───────────────────────────────────────────
 *   [컴포넌트] 리스트 스타일
 * -------------------------------------------
 *   .list-group.solid
 *   .list-group.dashed
 * ─────────────────────────────────────────── */

.list-group {
    width: 100%;
    font-size: 1.6rem;
    color: #333333;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.list-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    padding-left: 36px;
    cursor: pointer;
    background-color: #ffffff;
}

    .list-item:first-child {
        border-top: none !important;
    }

    .list-item.is-active {
        background-color: var(--point-pale-blue);
        font-weight: 500;
        color: #333333;
    }

.item-index {
    color: #aaaaaa;
    font-size: 1.2rem;
    position: absolute;
    top: 8px;
    left: 8px;
}

.item-text {
    flex: 1;
}

.item-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 10px;
    background-color: var(--point-blue);
    color: #ffffff;
    font-size: 1.2rem;
}

.item-arrow {
    font-size: 14px;
    color: #999;
}

/* ── 실선 ─────────────────────────────────────────────────── */

.list-group.solid .list-item {
    border-top: 1px solid #eeeeee;
}

/* ── 점선 ─────────────────────────────────────────────────── */

.list-group.dashed .list-item {
    border-top: 1px dashed #dddddd;
}


/* ───────────────────────────────────────────
 *   [컴포넌트] banner 배너
 * -------------------------------------------
 *   .sticky-banner
 * ─────────────────────────────────────────── */

.sticky-banner {
    position: sticky;
    bottom: 130px;
    left: calc(100% - 300px);
    background-color: #ffffff;
    width: 240px;
    height: auto;
    min-height: 240px;
    border-radius: 20px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--point-color);
    margin-top: -240px;
    cursor: default;
    line-height: 1.2;
}

/* 기본: 안 보임 */
.sticky-banner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* 보여줄 때 */
.sticky-banner.is-visible {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 1600px) and (min-height: 1024px) {
    .sticky-banner {
        bottom: 150px;
        left: calc(100% - 260px);
    }
}

@media (max-width:600px) {
    .sticky-banner {
        bottom: 90px;
        left: calc(100% - 255px);
    }
}

       .sticky-banner-text p {
            font-size: 1.6rem;
            font-weight: 600;
            line-height: 1.4;
        }

      .sticky-banner-text .banner-txt {
          font-size: 2rem;
          text-align: center;
       }

       .close-service-icon {
           width: 80px;
           height: 80px;
       }

       .banner-close-icon {
            position: absolute;
            top: 0;
            right: 0;
            cursor: pointer;
            color: var(--point-color);
            padding: 12px;
       }

.direct-btn {
    border-radius: 50px;
    width: 100%;
    line-height: 1;
}

.today-cookie {
    display: flex;
    margin-top: 10px;
}

.today-cookie .today-cookie-checkbox {
    margin-right: 16px;
    transform: scale(1.6);
    border: var(--point-color) 1px solid;
    border-radius: 20px;
}


/* ───────────────────────────────────────────
 *   [컴포넌트] 커스텀 폼
 * -------------------------------------------
 *   .form-input 인풋 폼
 *   .form-select 선택 폼
 *   .form-radio 라디오 스타일
 * ─────────────────────────────────────────── */

/* ── 공통 폼 스타일 ──────────────────────────────────────── */

select {
    color: #333333;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    box-shadow: var(--shadow-input);
    color: #333333;
}

input[type="date"] {
    background: #ffffff;
    color: #333333;
    padding-right: 40px;
}

/* 달력 아이콘 제거 + 클릭 가능 영역 확보 */
input[type="date"]::-moz-calendar-picker-indicator {
    opacity: 0;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;
}

/* ── 커스텀 폼 ──────────────────────────────────────── */

.form-container {
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-md);
}

.form-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    padding-left: 4px;
    color: var(--gray-800);
    font-size: 1.6rem;
}

.form-input {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    min-height: 48px;
    min-width: 0;
    padding: 0 16px;
    font-size: 1.6rem;
    border-radius: var(--radius-sm);
    border: var(--sub-border);
    background-color: var(--bg-input);
    font-family: var(--font-family-pretendard);
}

.form-select {
    background-image: url('../assets/img/common/select-down-gray.svg');
    background-size: 12px 12px;
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-color: #ffffff;
}

.form-textarea {
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.5;
    resize: vertical;
    box-shadow: var(--shadow-input);
    position: relative;
}

.form-date {
    gap: 8px;
}

.form-date .input-date {
    background-image: url('../assets/img/common/calendar-gray.svg');
    background-size: 16px 16px;
    background-position: right 16px center;
    background-repeat: no-repeat;
    text-align: left;
    background-color: #ffffff;
}
    
.form-radio {
    gap: 12px;
    flex: 1;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    line-height: 1;
}
  
.form-radio .radio-mark {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: var(--sub-border);
    border-radius: 50%;
    position: relative;
    background-color: white;
}

    .form-radio input[type="radio"]:checked + .radio-mark {
        border: #dddddd 1px solid;
    }

    .form-radio input[type="radio"]:checked + .radio-mark::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 12px;
        height: 12px;
        background-color: var(--point-blue);
        border-radius: 50px;
        transform: translate(-50%, -50%);
    }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .form-input {
    width: 100%;
    padding-right: 40px; /* 아이콘 영역 확보 */
}

.input-wrapper .icon {
    position: absolute;
    right: 16px;
    width: 20px;
    height: 20px;
}

.input-with-button {
    display: flex;
    border: 1px solid #dddddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-input);
    width: 100%;
    box-shadow: var(--shadow-input);
}

.form-input.reset {
    border: none;
    outline: none;
    background-color: transparent;
    flex: 1;
    box-shadow: none;
}

.send-button {
    color: var(--point-color);
    box-shadow: var(--box-shadow-100);
    border: none;
    border-radius: 8px 0 0 8px;
    width: 20%;
    min-width: 80px;
}

/* ── 택1 버튼 ───────────────────────────────────────────── */

.full-options .btn {
    flex: 1;
}

.full-options .gray-border-btn.is-active {
    flex: 1;
    border: 2px solid var(--point-blue);
    color: var(--point-blue);
}

/* ── 조회 폼 ────────────────────────────────────────────── */

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper .form-input {
    padding-right: 36px;
}

.search-input-wrapper .search-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* ── 상태별 테두리 스타일 ─────────────────────────────────── */

.input-wrapper.success .form-input {
    border: 1px solid var(--point-blue);
    background-color: #f9feff;
    box-shadow: none;
}

.input-wrapper.error .form-input {
    border: 1px solid var(--point-red);
    background-color: #fffafa;
    box-shadow: none;
}

input::placeholder,
textarea::placeholder {
    color: #aaaaaa;
    opacity: 1;
}

/* ── 서버별 호환 ───────────────────────────────────────── */

/* 크롬, 엣지, 사파리 */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #aaaaaa;
    opacity: 1;
}

/* 파이어폭스 */
input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #aaaaaa;
    opacity: 1;
}

/* IE 10–11 */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #aaaaaa;
}

/* Edge (구버전) */
input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: #aaaaaa;
}

/* ── 커스텀 폼 disabled 시 디자인 속성 ──────────────────── */

.form-input[readonly] {
    background-color: #eeeeee;
    color: #999999;
    cursor: not-allowed;
}

.form-input:disabled,
.form-select:disabled,
textarea:disabled {
    background-color: #ffffff;
    color: var(--sub-bluegray);
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

select:disabled,
.form-select:disabled {
    background-image: url('../assets/img/common/select-down-disabled.svg');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 12px;
}

.form-date .input-date[readonly],
.form-date .input-date:disabled {
    background-image: url('../assets/img/common/calendar-disabled.svg');
}

.form-radio input:disabled + .radio-mark {
    background-color: #ffffff;
    cursor: not-allowed;
}

.form-radio input:disabled:checked + .radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: #eeeeee;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.form-logo .logo-img {
    max-height: 60px;
}


/* ───────────────────────────────────────────
 *   [컴포넌트] card 카드
 * -------------------------------------------
 *   .card-full
 *   .card-summary
* ─────────────────────────────────────────── */

/* ── .card ───────────────────────────────────────────── */

.card-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title .title {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: 800;
}

.card-title .subtitle {
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 600;
}

.card-title .category {
    font-size: 1.4rem;
    font-weight: 400;
    color: #333333;
}

.card-title .title .icon-right .bi {
    font-size: 1.6rem;
    color: #333333;
    padding: 0 2px;
}

.card-title .subtitle .icon-right .bi {
    font-size: 1.4rem;
    padding: 0 1px;
}

.card-content .description {
    color: #666666;
}

.card-img-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
}

.card-top .card-img {
    width: 28px;
    height: auto;
}

.card-content .card-img {
    width: 28px;
    height: auto;
}

/* ── .card-basic ──────────────────────────────────── */

.card-basic {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ── .card-full ───────────────────────────────────── */

.card-full {
    position: relative;
    display: flex;
}

.card-full-img {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
}

/* ── .card-summary ────────────────────────────────── */

.card-summary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-summary .card-content {
    align-self: flex-end;
    vertical-align: bottom;
}

.card-summary .value {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
}

.card-summary .count {
    font-weight: 700;
    font-size: 4rem;
    line-height: 0;
}

/* ───────────────────────────────────────────
 *   [컴포넌트] 둥근 체크 버튼
 * -------------------------------------------
 *   .checkbox-wrapper
 * ─────────────────────────────────────────── */

.checkbox-wrapper .checkbox-icon {
    background: none;
    background-size: contain;
    cursor: pointer;
}

.checkbox-wrapper.checked .checkbox-icon {
    background: url('../img/icon/check.svg') no-repeat center center;
    background-size: contain;
    cursor: pointer;
}

.checkbox-xlg {
    width: 36px;
    height: 36px;
}

.checkbox-lg {
    width: 28px;
    height: 28px;
}

.checkbox-md {
    width: 20px;
    height: 20px;
}

.checkbox-sm {
    width: 16px;
    height: 16px;
}

.checkbox-icon.all-checked.checked {
	background: url('../assets/img/download/check-circle-blue.svg') no-repeat center;
	background-size: contain;
}


/* ───────────────────────────────────────────
 *   [컴포넌트] 툴팁
 * -------------------------------------------
 *   .tooltip
 * ─────────────────────────────────────────── */

.tooltip-btn-relative {
    position: relative;
}

.tooltip-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: var(--sub-border);
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--main-bluegray);
    cursor: pointer;
    font-family: var(--font-family-pretendard);
}

.tooltip-btn-absolute {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* ── tooltip 툴팁 박스 ─────────────────────────────────── */

.tooltip .tooltip-box {
    position: relative;
    padding: 28px 12px;
    min-width: 300px;
    max-width: 500px;
    min-height: 160px;
    width: calc(100% - 40px);
}

.tooltip .tooltip-title {
    font-size: 1.6rem;
}

.tooltip .tooltip-text {
    font-size: 1.4rem;
    font-weight: 400;
    text-align: left;
    padding: 0 16px;
}

    .tooltip .close-btn {
        position: absolute;
        top: 16px;
        right: 16px;
    }

    .back-icon-gray,
    .close-icon-gray {
        font-size: 2rem;
        color: var(--sub-bluegray);
    }

/* ───────────────────────────────────────────
 *   [컴포넌트] 바텀시트
 * -------------------------------------------
 *   .custom-bottomsheet-wrapper
 * ─────────────────────────────────────────── */

body.overflow-hidden {
    overflow: hidden;
}

.custom-bottomsheet-wrapper {
    position: relative;
}

.custom-bottomsheet-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.custom-bottomsheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 1000;
    background: #ffffff;
}

    .custom-bottomsheet-plain {
        border-radius: 16px 16px 0 0;
        /* max-width: 700px; */
    }

.custom-bottomsheet-plain::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 40px;
    background: #ffffff;
    border-radius: 0;
    pointer-events: none;
}

    .custom-bottomsheet {
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .custom-bottomsheet-slide-up {
        transform: translateY(0);
    }

.custom-fade-in {
    animation: customFadeIn 0.3s forwards;
}

@keyframes customFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

    .invalid-feedback {
        margin-top: 8px;
        color: #FF6666;
    }


/* ── 바텀시트 핸들바 handle-bar ──────────────────────────────────── */

.sheet-handle-bar-area {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 100%;
    display: flex;
    z-index: 3;
    cursor: grab;
}

.sheet-handle-bar-area::after {
    content: '';
    position: absolute;
    top: -12px;
    bottom: -24px;
    left: 0;
    right: 0;
    z-index: 1;
}

.sheet-handle-bar {
    cursor: pointer;
    margin: 12px auto 0;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background-color: #ccc;
}

/* ───────────────────────────────────────────
 *   [컴포넌트] 플로팅 미니 바텀시트
 * -------------------------------------------
 *   .mini-floating-card
 * ─────────────────────────────────────────── */

.mini-floating-card {
    margin: 0 auto;
    width: calc(100% - 32px);
    max-width: 700px;
    min-height: 160px;
    background: #ffffff;
    border-radius: 16px !important;
    box-shadow: var(--box-shadow-floating-card);
    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-bottomsheet-slide-up.mini-floating-card {
    transform: translateY(-20px);
}

.info-card .account-info {
    text-align: center;
    line-height: 1.4;
}

.info-card .user-name {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-card .clinic-name {
    color: var(--point-blue);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 4px;
}


/* ───────────────────────────────────────────
 *   [컴포넌트] 접힘 리스트
 * -------------------------------------------
 *   .collapse-list
 * ─────────────────────────────────────────── */

.collapse-list {
    border-top: 1px solid #dddddd;
}

.collapse-item {
    border-bottom: 1px solid #dddddd;
}

.collapse-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #ffffff;
    cursor: pointer;
    font-size: 1.6rem;
}

.collapse-index {
    font-weight: 600;
    color: var(--bluegray-text);
}

.collapse-title {
    flex: 1;
    text-align: center;
    color: #333333;
}

.collapse-item .icon-arrow {
    transition: transform 0.3s ease;
    font-size: 1.6rem;
    color: var(--bluegray-text);
}

.collapse-item.is-open .icon-arrow {
    transform: rotate(180deg);
}

.collapse-body {
    display: none;
    padding-top: 12px;
    padding-bottom: 20px;
    font-size: 1.4rem;
    color: #555;
}

.collapse-item.is-open .collapse-header {
    background: #f6f6f6;
    border-bottom: 1px solid #dddddd;
}

.collapse-item.is-open .collapse-body {
    display: block;
}


/* ───────────────────────────────────────────
 *   [컴포넌트] Popup 팝업창
 * -------------------------------------------
 *   .popup
 * ─────────────────────────────────────────── */

body.popup-opened {
    position: fixed;
    top: 0;
    width: 100%;
    overflow: hidden;
    touch-action: none;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999998;
}

    .popup-overlay.show {
        display: block;
    }


.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}
  
.popup-box {
    background-color: white;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
  
.popup-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #666666;
}

.popup-close-btn .icon {
    font-size: 2rem;
}

    .popup {
        display: none;
    }

    .popup.opened {
        display: flex;
    }

    body.popup-opened {
        overflow: hidden;
        touch-action: none;
        position: fixed;
        width: 100%;
    }

/* ── 팝업 버튼 영역 : 하단 꽉찬 버튼 ──────────────────────────────────── */

.popup .button-area {
    display: flex;
    border-top: 1px solid #eeeeee;
    flex: 1;
    width: 100%;
}

.popup .button-area .popup-main-btn {
    border-right: #eeeeee 1px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    font-weight: 500;
    font-size: 1.6rem;
    height: 56px;
}

.popup .button-area .popup-main-btn:last-child {
    border: none;
}

/* ───────────────────────────────────────────
 *   [컴포넌트] Alert 경고창
 * -------------------------------------------
 *   .alert
 * ─────────────────────────────────────────── */

.alert-box {
    position: relative;
    width: calc(100% - 40px);
    max-width: 500px;
    min-height: 300px;
    padding: 20px;
}

   .alert-popup .close-btn {
        position: absolute;
        top: 20px;
        right: 24px;
    }

.alert-title {
    font-size: 2.4rem;
}

.alert-img {
    width: 40px;
    height: auto;
    padding: 4px;
}

.alert-text {
    font-size: 1.6rem;
    font-weight: 400;
    margin-top: 12px;
}

    .alert-box  .bi-exclamation-diamond,
    .alert-box  .bi-exclamation-diamond-fill {
        color: var(--point-red);
    }

    .alert-box .bi-megaphone-fill,
    .alert-box .bi-megaphone {
        color: var(--point-blue);
    }

    .alert-box .bi-patch-check, 
    .alert-box .bi-patch-check-fill {
        color: var(--point-green);
    }

    .alert-box .bi-exclamation-circle,
    .alert-box .bi-exclamation-circle-fill {
        color: var(--point-yellow);
    }

.alert-btn {
    padding: 15px 0;
    width: 160px;
    cursor: pointer;
}

/* ───────────────────────────────────────────
 *   [컴포넌트] modal 모달 팝업
 * -------------------------------------------
 *   .modal
 * ─────────────────────────────────────────── */

.modal .modal-box {
    position: relative;
    padding: 0;
    padding-top: 28px;
    min-width: 300px;
    max-width: 500px;
    min-height: 160px;
    width: calc(100% - 40px);
}

.modal .modal-title {
    font-size: 1.6rem;
}

.modal .modal-text {
    font-size: 1.4rem;
    font-weight: 400;
    text-align: center;
    color: #666666;
    padding: 0 20px 20px 20px;
}

    .modal .close-btn {
        position: absolute;
        top: 16px;
        right: 16px;
    }

    .modal .close-icon-gray {
        font-size: 2rem;
        color: var(--sub-bluegray);
    }

.modal .button-area {
    padding: 0;
    flex: 0;
}


/* ───────────────────────────────────────────
 *   [컴포넌트] toast 토스트 알림
 * -------------------------------------------
 *   .toast
 * ─────────────────────────────────────────── */

.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}


/* ───────────────────────────────────────────
 *   [컴포넌트] 데이터 없음
 * -------------------------------------------
 *   .empty-data
 * ─────────────────────────────────────────── */
 
.empty-data {
    width: 100%;
    height: 100%;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: #666666;
}


/* ───────────────────────────────────────────
 *   [컴포넌트] 로딩스피너
 * -------------------------------------------
 *   .loading-spiner
 * ─────────────────────────────────────────── */
   
.loading-spiner.main {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.hourglass-wrapper {
    position: relative;
    width: 40px;
    height: 80px;
    transform-origin: center center;
    animation: spin 2.4s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    80% { transform: rotate(270deg); }
    100% { transform: rotate(360deg); }
}

.spiner-object {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background-color: #04A0F0;
    border-radius: 50%;
    animation: fall 1.2s infinite ease-in-out alternate;
    transition: background-color 0.6s ease-in-out;
    z-index: 99999;
}

@keyframes fall {
    0%   { top: 40px; opacity: 1; }
    20%  { top: 40px; opacity: 1; }
    80%  { top: 0px;  opacity: 1; }
    100% { top: 0px;  opacity: 1; }
}

.spiner-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #04A0F0;
    border-radius: 40px;
    opacity: 0;
    animation: frameOpacity 2.4s ease-in-out infinite;
    transition: background-color 0.6s ease-in-out;
    pointer-events: none;
}

@keyframes frameOpacity {
    0%   { opacity: 0.1; }
    20%   { opacity: 0.2; }
    50%   { opacity: 0.3; }
    80%  { opacity: 0.2; }
    100% { opacity: 0.1; }
}


/* ───────────────────────────────────────────
 *   [컴포넌트] 위로 가기 버튼
 * -------------------------------------------
 *   .gotop
 * ─────────────────────────────────────────── */

.go-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999999;
}

.top-btn {
    width: 80px;
    height: 80px;
    /* border: var(--point-color) 1px solid; */
    border-radius: 60px;
    /* background: #ffffff; */
    box-shadow: var(--shadow-btn);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.top-btn img {
    width: 60px;
    height: auto;
}

    @media (max-width: 768px) {
        .go-top {
            bottom: 20px;
            right: 20px;
        }

        .top-btn {
            width: 40px;
            height: 40px;
            border: var(--point-color) 1px solid;
            background-color: #ffffff;
        }

        .top-btn img {
            width: 20px;
            height: 20px;
        }
    }

/* ==========================================================================
    10. Menu
   ========================================================================== */

/* ==========================================================================
    11. Main
   ========================================================================== */

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main.dashboard {
    min-height: calc(100vh - 121px);
    justify-content: center;
}


/* ───────────────────────────────────────────
 *   [페이지] dashboard 대시보드
 * -------------------------------------------
 *   .dashboard-split
 * ─────────────────────────────────────────── */

/* .dashboard-container {
    margin: 20px 0;
} */

.dashboard-card {
    padding: 20px;
    min-height: 100px;
}

.dashboard-item {
    height: fit-content;
}

.dashboard-split {
    display: flex;
    justify-content: space-between;
    gap: 1px;
    border-top: 1px solid #dddddd;
    margin: -20px -20px;
    margin-top: 16px;
}

.dashboard-split-box {
    flex: 1;
    padding: 20px;
    min-height: 100px;
}

.dashboard-split-box.card-summary .count {
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 0.6;
    vertical-align: bottom;
}

    .dashboard-split .dashboard-split-box:first-child {
        border-right: #dddddd 1px solid;
    }


          

/* ==========================================================================
    12. Footer
   ========================================================================== */

/* ==========================================================================
    13. etc
   ========================================================================== */

/* ==============================
   Toggle (공용 아코디언 구조)
   .js-toggle-item
   .js-toggle-trigger
   .js-toggle-target
============================== */

.js-toggle-trigger {
    position: relative;
    display: block;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s ease;
}

.js-toggle-trigger:hover {
    color: var(--point-color, #624498);
}

.js-toggle-target {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.js-toggle-item.is-open .js-toggle-target {
    max-height: 500px;
}

.js-toggle-trigger::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 24px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .js-toggle-trigger::after {
        right: 10px;
        top: 16px;
        width: 8px;
        height: 8px;
    }
}

.js-toggle-item.is-open .js-toggle-trigger::after {
    transform: translateY(-50%) rotate(-135deg);
}

/* ================================= The end ================================== */