/* ==========================================================================
   0. 폰트 등록 (@font-face)
   ========================================================================== */
@font-face {
    font-family: 'Pretendard GOV';
    /* 웹팩/톰캣 표준 폴더 구조(webapp/css -> webapp/fonts) 기준 상대경로입니다 */
    src: url('/fonts/PretendardVariable.subset.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard GOV';
    src: url('/fonts/PretendardVariable.subset.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-break: keep-all;
}

html,
body {
    height: 100%;
    margin: 0;
}

html {
    font-size: 10px;
}

/* ==========================================================================
   1. 공통 변수 모음 (:root 통합)
   ========================================================================== */
:root {
    --color-primary: #1458c7;
    --color-primary-strong: #0f4cae;
    --color-primary-soft: #f4f8ff;
    --color-text: #1f2937;
    --color-text-subtle: #66748b;
    --color-border: #e3eaf4;
    --color-border-strong: #cfd7e6;
    --color-surface: #ffffff;
    --color-surface-soft: #f8fbff;
    --color-danger: #da3e3e;
    --color-danger-strong: #c53030;
    --color-success: #1458c7;

    /* Header/Footer 및 기타 영역에서 사용하는 변수 */
    --c-primary: #1458c7;
    --c-primary-hover: #0f4cae;
    --c-dark: #1d2f57;
    --c-gray: #66748b;
    --c-gray-light: #7a8599;
    --bg-light: #f8faff;
    --bd-gray: #e3e7ef;

    --radius-sm: 1rem;
    --radius-md: 1.4rem;
    --radius-lg: 1.8rem;
    --radius-xl: 2.4rem;

    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);

    --space-1: 0.8rem;
    --space-2: 1.2rem;
    --space-3: 1.6rem;
    --space-4: 2rem;
    --space-5: 2.4rem;
    --space-6: 3.2rem;
}

body {
    font-family: "Pretendard GOV", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--color-text);
    background: #ffffff;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

ul,
ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   2. 버튼 (Buttons)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.8rem;
    padding: 0 2rem;
    border-radius: 1.2rem;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    transition: all 0.2s ease;
}

.btn:focus-visible,
button:focus-visible,
input:focus-visible,
a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(20, 88, 199, 0.14);
}

.btn-primary {
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(20, 88, 199, 0.16);
}
.btn-primary:hover {
    background: var(--color-primary-strong);
    border-color: var(--color-primary-strong);
}

.btn-secondary {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid #d8deea;
}
.btn-secondary:hover {
    background: #f7faff;
    border-color: #bfd3f6;
    color: var(--color-text) !important;
}

.btn-danger {
    background: var(--color-danger);
    border: 1px solid var(--color-danger);
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 77, 79, 0.16);
    transition: all 0.2s ease;
}
.btn-danger:hover {
    background: var(--color-danger-strong);
    border-color: var(--color-danger-strong);
    color: #fff;
}

.btn-outline {
    background: #fff;
    border: 1px solid #a9c0f5;
    color: var(--color-primary);
}
.btn-outline:hover {
    background: #f7faff;
}

.btn-sm {
    min-width: 12rem;
    height: 5.2rem;
    border-radius: 1.2rem;
}

[hidden] {
    display: none !important;
}

/* ==========================================================================
   3. 공통 폼 (Forms)
   ========================================================================== */
input[readonly] {
    background: #f5f7fa;
    cursor: not-allowed;
    color: #5f6b7c;
}

.input-basic {
    width: 100%;
    height: 5.2rem;
    padding: 0 1.6rem;
    border: 1px solid #cfd9e8;
    border-radius: 1.2rem;
    background: #fff;
    font-size: 1.5rem;
    color: #1f2937;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input-basic::placeholder {
    color: #98a2b3;
}
.input-basic:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(20, 88, 199, 0.08);
}

/* ==========================================================================
   4. 레이아웃 & 유틸리티 (Layout & Utilities)
   ========================================================================== */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: end; }
.flex-col { flex-direction: column; }

.gap-4 { gap: 0.4rem; }
.gap-8 { gap: 0.8rem; }
.gap-12 { gap: 1.2rem; }
.gap-16 { gap: 1.6rem; }
.gap-20 { gap: 2rem; }
.gap-24 { gap: 2.4rem; }
.gap-32 { gap: 3.2rem; }

.pd-5 { padding: 5px; }
.pd-10 { padding: 10px; }
.pd-20 { padding: 20px; }

.pdt-5 { padding-top: 5px; }
.pdt-10 { padding-top: 10px; }
.pdt-20 { padding-top: 20px; }

.mgt-5 { margin-top: 5px; }
.mgt-10 { margin-top: 10px; }
.mgt-20 { margin-top: 20px; }

.mb-20 { margin-bottom: 2rem !important; }
.mb-40 { margin-bottom: 4rem !important; }
.mt-20 { margin-top: 2rem !important; }
.mt-40 { margin-top: 4rem !important; }
.btn-no-margin { margin-top: 0 !important; }

/* 텍스트 유틸리티 */
.text-left { text-align: left !important; justify-content: flex-start !important; }
.text-danger-bold { color: var(--color-danger) !important; font-weight: 600; }
.txt-remove { color: #d32f2f; font-weight: bold; }
.txt-add { color: var(--color-primary); font-weight: bold; }

/* 공통 구분선 */
.section-line {
    width: 100%;
    height: 1px;
    background-color: var(--bd-gray);
}

/* 모달 공통 */
.modal-open { overflow: hidden; }
.modal-overlay {
    position: fixed; inset: 0; z-index: 1000; background: rgba(15, 23, 42, 0.5);
    display: flex; align-items: center; justify-content: center; padding: 2rem;
}

/* Desktop/Mobile Visibility Controls */
.mobile-only, .hamburger-btn, .mobile-side-menu, .menu-overlay { display: none !important; }
.desktop-only { display: flex !important; }


/* ==========================================================================
   5. 헤더 (Header)
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 100; height: 7.2rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(130, 150, 180, 0.18);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img {width: 14.2rem; height: 4.8rem;}
.header-actions { display: flex; align-items: center; gap: 2.2rem; }

.header-link {
    display: inline-flex; align-items: center; gap: 0.8rem; font-size: 1.7rem;
    font-weight: 700; color: #1c4fa3; letter-spacing: -0.5px; line-height: 1;
    transition: color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}
.header-link img { width: 2rem; height: 2rem; flex-shrink: 0; transition: transform 0.18s ease; }
.header-link:hover { transform: translateY(-1px); }
.header-link__text { display: inline-block; line-height: 1.2; letter-spacing: -1px; }

.login-link2 { background: #1e4fbf; color: #fff; padding: 10px; border-radius: 8px; }
.login-link2 img { filter: brightness(0) invert(1); }
.login-link2:hover { background: #103488; color: #fff; transform: translateY(-1px); }
.login-link2 img:hover { filter: brightness(0) invert(1); }
.signup-link { color: #22396b; }
.signup-link:hover { background: rgba(195, 207, 235, 0.08); }

.user-auth-group { display: flex; align-items: center; justify-content: flex-end; gap: 0; }
.user-info { display: flex; align-items: center; gap: 0.8rem; font-size: 1.5rem; color: #1d2f57; white-space: nowrap; }
.user-info strong { font-weight: 800; }

.timer-wrapper {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background-color: #f1f5f9; padding: 0.4rem 1.2rem; border-radius: 999px; color: #475569;
}
.icon-clock {
    margin: 0; display: inline-block; width: 1.6rem; height: 1.6rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2366748b' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0z' /%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center; background-size: contain;
    position: relative; top: -1px;
}
#timerDisplay { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; color: #1458c7; }

.btn-extend {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 1.6rem; height: 3.2rem; font-size: 1.35rem; font-weight: 700;
    color: #4b5563; background-color: #ffffff; border: 1px solid #cfd7e6;
    border-radius: 999px; cursor: pointer; transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02);
}
.btn-extend:hover { background-color: #f7faff; border-color: #1458c7; color: #1458c7; }
.header-divider { display: inline-block; width: 1px; height: 1.6rem; background-color: #d8deea; margin: 0 2rem; }
.user-links { display: flex; align-items: center; gap: 1.5rem; }


/* ==========================================================================
   6. 푸터 (Footer)
   ========================================================================== */
.site-footer { margin-top: auto; background: #0a3561; overflow: visible; }
.footer-notice-wrap { background: #073d7a; padding: 10px 0; overflow: visible; }
.footer-notice-wrap .container { overflow: visible; }

.footer-main__inner { display: flex; align-items: center; gap: 4rem; justify-content: space-between; }
.footer-inner__left { display: flex; gap: 2rem; align-items: flex-start; }
.footer-logo { width: 18rem; filter: brightness(0) invert(1); flex-shrink: 0; }
.footer-address { margin: 0; color: #e9e9e9; font-size: 1.4rem; line-height: 1.7; font-style: normal; }

.footer-policy { display: flex; align-items: center; gap: 0.9rem; color: #8a96a6; font-size: 1.4rem; font-weight: 600; }
.footer-policy a { color: #ffffff; font-size: 1.4rem; text-decoration: none; background: #2c557f; padding: 5px 10px; border-radius: 6px; }

.notice-line { display: flex; align-items: center; gap: 1.2rem; min-width: 0; justify-content: space-between; }
.footer-related__inner { display: flex; align-items: center; gap: 2rem; min-height: 4.2rem; }
.footer-related__title { display: inline-flex; align-items: center; gap: 0.8rem; flex: 0 0 auto; color: #ffffff; font-size: 1.5rem; white-space: nowrap; }
.footer-related__icon { width: 20px; }
.footer-related__controls { display: none; align-items: center; justify-content: space-between; }
.footer-related__control { width: 3.6rem; height: 3.6rem; border: 1px solid #d8dee8; border-radius: 50%; background: #fff; color: #344054; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.footer-related__control:hover { background: #f4f8fc; color: #174a9c; }
.footer-related__list { display: flex; align-items: center; justify-content: flex-start; gap: 1rem; flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.footer-related__list::-webkit-scrollbar { display: none; }
.footer-related__item { display: flex; align-items: center; flex: 0 0 auto; border-radius: 5px; padding: 12px; background: #ffffff; height: 40px; }
.footer-related__item img { display: block; max-width: 14rem; max-height: 3.5rem; object-fit: contain; }

.footer-customer-row { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.18); overflow: visible; }
.footer-customer-bar { position: relative; display: grid; grid-template-columns: minmax(32rem, 1fr) 24rem 18rem; align-items: center; gap: 1.6rem; padding: 0; background: transparent; border-radius: 0; overflow: visible; }
.footer-customer-bar__info { min-width: 0; display: flex; align-items: center; gap: 1.2rem; }
.footer-customer-bar__icon { width: 4.2rem; height: 4.2rem; flex: 0 0 4.2rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.92); }
.footer-customer-bar__icon img { width: 2.6rem; }
.footer-customer-bar__text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.footer-customer-bar__text strong { color: #fff; font-size: 1.5rem; font-weight: 800; }
.footer-customer-bar__text span { color: rgba(255, 255, 255, 0.82); font-size: 1.25rem; line-height: 1.4; }

.footer-customer-bar__select-wrap { position: relative; min-width: 0; overflow: visible; }
.footer-customer-bar__select { width: 100%; height: 4.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 1.4rem; border: 0; border-radius: 0.8rem; background: #fff; color: #0f2d5c; font-size: 1.35rem; font-weight: 800; cursor: pointer; }
.footer-customer-bar__select img { width: 1.2rem; transition: transform 0.2s ease; }
.footer-customer-bar__select[aria-expanded="true"] img { transform: rotate(180deg); }
.footer-customer-bar__panel {
    position: absolute; right: 0; left: auto; bottom: calc(100% + 0.8rem); z-index: 999;
    width: 74rem; padding: 1rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem; border: 1px solid #d7e0ee; border-radius: 1rem; background: #fff;
    box-shadow: 0 1.2rem 2.8rem rgba(0, 20, 50, 0.22);
}
.footer-customer-bar__panel[hidden] { display: none; }
.footer-customer-bar__panel span { min-width: 0; display: flex; flex-direction: column; gap: 0.35rem; padding: 0.9rem 1rem; border: 1px solid #e4eaf3; border-radius: 0.8rem; background: #f8fbff; }
.footer-customer-bar__panel em { overflow: hidden; color: #253650; font-size: 1.25rem; font-style: normal; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.footer-customer-bar__panel strong { color: #1458c7; font-size: 1.35rem; font-weight: 900; }

.footer-customer-bar__hours { display: flex; align-items: center; gap: 0.9rem; min-height: 4.2rem; padding: 0 1.2rem; border-radius: 0.8rem; background: rgba(255, 255, 255, 0.92); white-space: nowrap; }
.footer-customer-bar__hours img { width: 2rem; }
.footer-customer-bar__hours span { display: flex; flex-direction: column; gap: 0.1rem; }
.footer-customer-bar__hours strong { color: #12345f; font-size: 1.25rem; font-weight: 800; }
.footer-customer-bar__hours em { color: #2f4665; font-size: 1.2rem; font-style: normal; }



/* footer v2 */
.site-footer.footer-v2 {margin-top: auto; background: #0a3c68;  color: #fff;overflow: visible;}

.footer-v2__inner { padding: 1rem 2rem; overflow: visible;}

.footer-v2__top {display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 24px;
    padding: 2px 0;}

.footer-v2__left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.footer-v2__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}


.footer-v2__left-top {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    flex-wrap: wrap;
}



.footer-v2__title {display: flex; gap: 20px; align-items: center;}

.footer-v2__call {display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    padding-top: 14px;}
.footer-v2__call img { width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);}

.footer-v2__logos span,.footer-v2__call span { color: #d0d4da; font-size: 1.3rem; font-weight: 700; white-space: nowrap;}

.footer-v2__menus {display: flex; align-items: center; gap: 1rem; flex-shrink: 0; overflow: visible;}

.footer-v2__select {position: relative; min-width: 180px;}
.footer-v2__select button {width: 18rem; height: 4.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 1.2rem 0 1.8rem; background: rgba(0, 0, 0, 0.22); color: #fff; font-size: 1.4rem; font-weight: 800;}
.footer-v2__select button:hover {background: rgba(0, 0, 0, 0.32);}
.footer-v2__select button img {width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: #d3d8dd; font-size: 1.8rem; flex-shrink: 0; transition: transform 0.2s ease;}

.footer-v2__dropdown { position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 20;
    display: none;
    padding: 10px;
    background: #fff;
    border: 1px solid #d8dce2;
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.16);
    width: 22rem; }

/* 연계 시스템 문의처 */
.footer-v2__select.is-open .footer-v2__dropdown {display: flex; flex-direction: column;}
.footer-v2__select.is-open button img {transform: rotate(180deg);}

.footer-v2__select button img {transition: transform 0.2s ease;}

.footer-v2__dropdown--contacts { max-height: 280px;
    overflow-y: auto;}
.footer-v2__dropdown--contacts span {display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 4px;
    border-bottom: 1px solid #e5ebf2;
    color: #111827;
    font-size: 14px;}
.footer-v2__dropdown--contacts span:last-child {border-bottom: 0;}
.footer-v2__dropdown--contacts span:hover {background: #f4f8ff;}
.footer-v2__dropdown--contacts em {overflow: hidden; color: #174a9c; font-size: 1.25rem; font-style: normal; font-weight: 800; text-overflow: ellipsis; white-space: nowrap;}
.footer-v2__dropdown--contacts strong {color: #333; font-size: 1.2rem; font-weight: 800; line-height: 1.25; text-align: right; white-space: normal;}

/* 관련 사이트 */
.footer-v2__dropdown--sites {min-width: 220px;}
.footer-v2__dropdown--sites .footer-related__item {width: 100%; height:58px; display: flex; align-items: center; justify-content: center; padding:10px; border: 1px solid #edf1f6; background: #fff;}
.footer-v2__dropdown--sites .footer-related__item:hover {background: #f4f8ff;}
.footer-v2__dropdown--sites .footer-related__item img {max-width: 180px; max-height: 38px; object-fit: contain;}

/* bottom */
.footer-v2__bottom {display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem; padding-top: 2.2rem;}

.footer-v2__info {display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;}
.footer-v2__info address {color: #d7d7d7; font-size: 1.4rem; font-style: normal; font-weight: 700; line-height: 1.5;}

.footer-v2 .footer-policy {display: flex; align-items: center;}
.footer-v2 .footer-policy a {color: #fff; font-size: 1.4rem; font-weight: 800; background: transparent; padding: 0; border-radius: 0;}
.footer-v2 .footer-policy a:hover {text-decoration: underline;}

.footer-v2__logos {flex-shrink: 0; display: flex; align-items: baseline; gap: 10px;}
.footer-v2__logos img {  display: block;
    width: 28rem;
    max-width: 100%; filter: brightness(0) invert(1);}

    .footer-v2__address {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    padding-top: 14px;
}

.footer-v2__copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    font-weight: 600;
}

.footer-v2__select > button,
.footer-v2__button {
    display: inline-flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    background: rgba(0, 27, 56, 0.34);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.footer-v2__button {
    justify-content: center;
    min-width: 170px;
}


.footer-v2__select > button::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 16px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}
.footer-v2__button:hover {background: rgba(0, 0, 0, 0.32);}

.footer-v2__select.is-open > button::after {
    transform: rotate(225deg) translateY(-2px);
}


/* krds 기준 푸터 */
.foot-quick {
    background: #fff;
    border-top: 1px solid #d8dce2;
    border-bottom: 1px solid #d8dce2;
}

.foot-quick__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(360px, 428px));
    justify-content: start;
}

.foot-quick__item {
    position: relative;
    border-left: 1px solid #d8dce2;
}

.foot-quick__item:last-child {
    border-right: 1px solid #d8dce2;
}

.foot-quick__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 26px;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.foot-quick__item summary::-webkit-details-marker {
    display: none;
}

.foot-quick__item summary img {
    transition: transform 0.2s ease;
}

.foot-quick__item[open] summary img {
    transform: rotate(45deg);
}

.foot-quick__panel {
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: 54px;
    z-index: 20;
    max-height: 300px;
    overflow-y: auto;
    padding: 12px;
    background: #fff;
    border: 1px solid #cfd8e3;
    box-shadow: 0 -14px 30px rgba(15, 23, 42, 0.16);
}

.foot-quick__panel span {
   border-bottom: 1px solid #e5ebf2;
    border-radius: 0;
}

.foot-quick__panel span:last-child {
    border-bottom: 0;
}

.foot-quick__panel span:hover {
    background: #f4f8fc;
}

.foot-quick__panel span,
.foot-quick__panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #111827;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.foot-quick__panel span:hover,
.foot-quick__panel a:hover {
    background: #f3f6fb;
}

.foot-quick__panel em {
    flex: 0 0 auto;
    color: #1f2937;
    font-style: normal;
    font-weight: 800;
}

.foot-quick__panel strong {
    color: #003675;
    font-weight: 900;
    text-align: right;
    letter-spacing: 0;
}


/* 관련 사이트 로고형 */
.foot-quick__panel .footer-related__item {
    justify-content: flex-start;
    min-height: 66px;
    padding: 12px 14px;
    border: 1px solid #e1e7ef;
    background: #fff;
    margin-bottom: 10px;
}

.foot-quick__panel .footer-related__item:last-child {
    margin-bottom: 0px;
}

.foot-quick__panel .footer-related__item:hover,
.foot-quick__panel .footer-related__item:focus-visible {
    border-color: #9bb8d6;
    background: #f4f8fc;
}

/* 하단 정보 영역 */
.footer-main {
    padding: 34px 0 32px;
    background: linear-gradient(180deg, #0d4274 0%, #07335f 100%);
}



.footer-main__left {
    grid-area: left;
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-bottom: 5px;
}

.footer-brand img {
    filter: brightness(0) invert(1);
}


.footer-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
    margin: 0;
    color: #fff;
    font-style: normal;
    font-size: 15px;
    line-height: 1.5;
}

.footer-contact span {
    position: relative;
}

.footer-contact span + span::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    width: 1px;
    height: 13px;
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%);
}

.footer-main__right {
    grid-area: right;
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-policy {
    grid-area: policy;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-policy a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.footer-policy a:hover,
.footer-policy a:focus-visible {
    background: rgba(255, 255, 255, 0.24);
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-copyright img {
    display: block;
    height: 26px;
    opacity: 0.74;
    filter: brightness(0) invert(1);
}

.footer-copy {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
}







/* ==========================================================================
   7. 반응형 미디어 쿼리 (Responsive)
   ========================================================================== */
@media (max-width: 1920px) {
    .site-header { height: 5.6rem; }
    .header-actions { gap: 2.4rem; }
    .header-link { font-size: 1.5rem; }
    .header-link img { width: 1.8rem; height: 1.8rem; }
    .footer-address { font-size: 1.3rem; }
}

@media (max-width: 1280px) {
    .footer-v2__top {  display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;}

         .footer-v2__left,
    .footer-v2__left-top,
    .footer-v2__right {
        display: contents;
    }

    .footer-v2__logos {
        order: 1;
    }

    .footer-v2__address {
        order: 2;
        padding-top: 0;
        white-space: normal;
    }

    .footer-v2__call {
        order: 3;
        padding-top: 0;
        white-space: normal;
    }

    .footer-v2__left-top > .footer-v2__select {
        order: 4;
    }

    .footer-v2__select--sites {
        order: 5;
    }

    .footer-v2__button {
        order: 6;
    }

    .footer-v2__copy {
        order: 7;
        margin-top: 8px;
    }

    .footer-v2__select,
    .footer-v2__button {
        width: 100%;
        min-width: 0;
    }

    .footer-v2__select > button,
    .footer-v2__button {
        justify-content: space-between;
    }

    .footer-v2__dropdown {width: 16rem;}

    .footer-v2__logos img {width: 15rem;}

    .footer-main__inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}


@media (max-width: 1024px) {
	.logo img {width: 9.5rem; height: 3.2rem;}
    .container { padding: 0 3rem; }
    .desktop-only { display: none !important; }
    .mobile-only, .hamburger-btn { display: flex !important; }
    .mobile-side-menu {
        display: block !important; position: fixed; top: 0; right: -320px; width: 290px;
        height: 100%; background-color: #fff; z-index: 10001; transition: right 0.3s ease-in-out;
        padding: 25px 20px; box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    .mobile-side-menu.active { right: 0; }
    .menu-overlay.active {
        display: block !important; position: fixed; top: 0; left: 0; width: 100vw;
        height: 100vh; background: rgba(0, 0, 0, 0.5); z-index: 10000;
    }
    .hamburger-btn { flex-direction: column; justify-content: space-between; width: 2.5rem; height: 2.1rem; background: none; border: none; cursor: pointer; padding: 0; }
    .hamburger-btn span { display: block; width: 100%; height: 0.28rem; background-color: #333; border-radius: 2px; }
    .menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; font-size: 1.6rem; font-weight: bold; }
    .btn-close2 { background: none; border: none; font-size: 24px; cursor: pointer; }
    .mobile-timer-zone { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 20px; white-space: nowrap; }
    .mobile-timer-zone .timer-wrapper { padding: 0.4rem 1rem; font-size: 1.3rem; }
    .mobile-timer-zone .btn-extend { padding: 0 1.2rem; height: 3rem; font-size: 1.25rem; border: 1px solid #cfd7e6; border-radius: 999px; background: #fff; cursor: pointer; }
    #timerDisplayMobile { display: inline-block; min-width: 50px; font-variant-numeric: tabular-nums; text-align: center; color: #1458c7; font-weight: bold; }
    .mobile-nav-links a { display: block; padding: 15px 0; font-size: 1.4rem; color: #333; text-decoration: none; border-bottom: 1px solid #f5f5f5; }
    .logout-text { color: #e74c3c !important; }

    .footer-related__title { display: none; }

    .footer-main__inner { flex-direction: column; align-items: flex-start; gap: 1.6rem; }

    .footer-customer-bar__panel { width: 54rem; max-width: calc(100vw - 3.2rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .footer-v2__top {flex-direction: column; align-items: stretch; gap:0.5rem;}

    .footer-v2__menus {width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: center; gap: 1rem;}

    .footer-v2__select,
    .footer-v2__button {
        width: 100%;
    }

    .footer-v2__select button,
    .footer-v2__button {
        width: 100%;
    }

    .footer-v2__dropdown {width: 100%;  }

    .footer-v2__logos {justify-self: end;}

    .footer-v2__inner {padding: 1.2rem 2rem;}

}

@media (max-width: 890px) {
    .notice-line { flex-direction: column; gap: 0; align-items: start; }
    .footer-customer-bar { grid-template-columns: 1fr; gap: 1rem; }
    .footer-customer-bar__info, .footer-customer-bar__select-wrap, .footer-customer-bar__hours { width: 100%; grid-column: auto; justify-self: stretch; }
    .footer-customer-bar__hours { justify-content: flex-start; }
    .footer-customer-bar__panel { right: auto; left: 0; width: min(100%, calc(100vw - 3.2rem)); grid-template-columns: 1fr; }
    .footer-customer-bar__hours strong br { display: none; }
}

@media (max-width: 820px) {
    .md-flex-col { flex-direction: column; }
    .md-w-full { width: 100%; }
    .md-gap-12 { gap: 1.2rem; }
    .md-gap-16 { gap: 1.6rem; }
    .footer-inner__left { flex-direction: column; gap: 1rem; }

    .footer-v2__logos {grid-column: 1 / -1; justify-self: flex-start; margin-top: 0.4rem;}
    .footer-v2__logos img {width: 16rem;}
}

@media screen and (max-width: 768px) {
    .footer-notice-wrap { padding: 8px 0; }
    .notice-line { flex-direction: column; align-items: flex-start; gap: 6px; }

      .foot-quick__inner {grid-template-columns: 1fr; padding: 0;}

   .foot-quick__inner {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .foot-quick__item,
    .foot-quick__item:last-child {
        border-right: 1px solid #d8dce2;
        border-bottom: 1px solid #d8dce2;
    }

    .foot-quick__panel {
        position: static;
        max-height: none;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        box-shadow: none;
    }

    .footer-main {
        padding: 32px 0 36px;
    }

    .footer-main__left {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .footer-contact {
        gap: 15px;
        font-size: 14px;
    }

    .footer-contact span + span::before {
        display: none;
    }

    .footer-main__right {
        gap: 12px;
        justify-content: space-between;
        width: 100%;
    }

    .footer-copy {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .container { padding: 0 2rem; }
    .md-flex-col-2 { flex-direction: column; }
    .site-manage-selected-item { width: 100%; }

    /* 공통 폼 및 버튼 모바일 높이 재조정 */
    .input-basic, .btn, .btn-sm { height: 4.8rem; }

    .site-header { height: auto; padding: 1.6rem 0; }
    .header-actions { gap: 1.6rem; }
    .header-link { flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; min-width: 5.6rem; font-size: 1.2rem; text-align: center; }
    .header-link img { width: 1.6rem; height: 1.6rem; }
    .header-link__text { display: block; white-space: nowrap; letter-spacing: 0; }

    .footer-related__inner { gap: 2rem; min-height: 4rem; }
    .footer-related__item { height: 33px; }
    .footer-related__item img { max-width: 12rem; max-height: 3.2rem; }

    .footer-v2__inner {padding: 1.8rem 1rem;}

    .footer-v2__menus {grid-template-columns: 1fr; gap: 0.8rem;}

    .footer-v2__select {width: 100%;}

    .footer-v2__select button,
    .footer-v2__button {
        height: 4.2rem;
        width: 100%;
        font-size: 1.3rem;
    }

    .footer-v2__dropdown {left: 0; right: auto; width: 100%;}
    .footer-v2__dropdown--contacts span {gap: 0.6rem;}
    .footer-v2__dropdown--contacts strong {font-size: 1.1rem;}

    .footer-v2__logos img {  width: 22rem;}

    .footer-v2__top { padding: 24px 0;}

    .footer-v2__title {flex-direction: column; gap: 0; align-items: baseline; margin-bottom: 10px;}

    .container.foot-quick__inner {padding:0;}

}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    /* 공통 폼 및 버튼 모바일(소) 높이 재조정 */
    .input-basic, .btn, .btn-sm { height: 4rem; }

    .header-link { gap: 0.3rem; font-size: 1.1rem; }
    .header-actions { gap: 1rem; }
    .footer-policy a { font-size: 1.2rem; padding: 5px 5px; }

    .container.footer-v2__inner {padding: 1.8rem 1rem;}

    .footer-contact {gap: 0;}
}

@media (max-width: 420px) {
    .container { padding: 0 10px; }
    .footer-related__icon { display: none; }

    .container.footer-v2__inner {padding: 1rem 1rem;}
    .footer-v2__logos {flex-direction: column; gap: 3px; margin-bottom: 3px;}

    .footer-main__right {flex-direction: column; align-items: baseline; gap: 5px;}
	.footer-policy {flex-wrap: wrap; width: 100%;}


}

/* ==========================================================================
   로그인 전 (Guest) 환영 안내 박스 (한 줄 띠너비 스타일)
   ========================================================================== */
.guest-welcome-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
}

.guest-welcome-box .welcome-icon {
    font-size: 18px; /* 한 줄 텍스트와 비율을 맞추기 위해 살짝 아담하게 */
}

/* 텍스트 영역을 가로(Flex)로 배치 */
.guest-welcome-box .welcome-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* 만약 브라우저 창이 너무 좁아지면 자연스럽게 줄바꿈 허용 */
    gap: 10px; /* 두 문장 사이의 간격 */
    margin: 0;
    color: #1d2f57;
    font-size: 14px;
    letter-spacing: -0.02em;
}

.guest-welcome-box .welcome-text strong {
    color: #1458c7;
    font-weight: 800;
}

.guest-welcome-box .sub-text {
    display: flex;
    align-items: center;
    color: #66748b;
    font-size: 13.5px;
}

/* 💡 포인트: 두 문장 사이의 은은한 세로 구분선 */
.guest-welcome-box .sub-text::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    background-color: #cbd5e1;
    margin-right: 10px;
}