/* BASIC css start */
.fh-site-footer, .fh-site-footer * { box-sizing: border-box; }
.fh-sms-contact-link { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fh-sms-contact-note { display: block; margin-top: 4px; color: inherit; font-size: 11px; line-height: 1.5; }
.fh-sms-legal-note { color: inherit; font-size: inherit; }
.fh-sms-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 2147483640;
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 12px 18px;
    color: #fff;
    background: rgba(15, 23, 42, .96);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .28);
    font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
    pointer-events: none;
}
.fh-sms-toast-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.fh-site-footer { margin-top: 0; background: #0b1f31; font-family: "Noto Sans KR", "Malgun Gothic", sans-serif; }
.fh-footer-shell { width: min(1280px, calc(100% - 64px)); margin: 0 auto; }
.fh-footer-main { padding: 64px 0 55px; }
.fh-footer-main .fh-footer-shell { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: 52px; }
.fh-footer-main h3 { margin-bottom: 18px; color: #fff; font-size: 13px; font-weight: 800; }
.fh-footer-brand > strong { color: #fff; font-family: Arial, sans-serif; font-size: 24px; font-weight: 900; letter-spacing: .08em; }
.fh-footer-brand p { margin-top: 19px; color: #8ca0b1; font-size: 13px; line-height: 1.8; }
.fh-footer-contact > a { display: block; margin-bottom: 12px; color: #fff; font-family: Arial, sans-serif; font-size: clamp(18px, 2vw, 24px); font-weight: 800; white-space: nowrap; }
.fh-footer-contact p, .fh-footer-bank p { color: #8ca0b1; font-size: 12px; line-height: 1.75; }
.fh-footer-contact p strong { color: #dce7f0; font-weight: 700; }
.fh-footer-bank strong { display: block; margin-bottom: 11px; color: #dce7f0; font-size: 14px; line-height: 1.6; }
.fh-footer-notice h3 a { color: #fff; font-size: 13px; font-weight: 800; }
.fh-footer-notice h3 span { margin-left: 7px; color: #5fa8ff; }
.fh-footer-notice li { overflow: hidden; margin-bottom: 9px; text-overflow: ellipsis; white-space: nowrap; }
.fh-footer-notice li a { color: #8ca0b1; font-size: 12px; }
.fh-footer-notice li a:hover { color: #fff; }
.fh-footer-meta { padding: 30px 0 38px; border-top: 1px solid rgba(255,255,255,.09); }
.fh-footer-links { display: flex; gap: 22px; margin-bottom: 22px; }
.fh-footer-links a { color: #a7b6c3; font-size: 12px; }
.fh-footer-links .privacy { color: #fff; font-weight: 700; }
.fh-company-info { color: #6f8496; font-size: 11px; line-height: 1.9; }
.fh-company-info a { margin-left: 7px; color: #9bb0c1; font-size: 11px; text-decoration: underline; }
.fh-copyright { margin-top: 22px; color: #587083; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .08em; }

@media (max-width: 1100px) {
    .fh-footer-shell { width: min(100% - 40px, 960px); }
    .fh-footer-main .fh-footer-shell { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .fh-footer-shell { width: calc(100% - 30px); }
    .fh-footer-main .fh-footer-shell { grid-template-columns: 1fr; gap: 38px; }
}

/* FLOWING FAQ chatbot */
.fh-chatbot,
.fh-chatbot * { box-sizing: border-box; }
.fh-chatbot {
    color: #172033;
    font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-size: 14px;
    line-height: 1.45;
}
.fh-chatbot button,
.fh-chatbot input { margin: 0; font: inherit; }
.fh-chatbot button { appearance: none; -webkit-appearance: none; cursor: pointer; }
.fh-chatbot span { visibility: visible !important; }
.fh-chatbot [hidden] { display: none !important; }
.fh-chatbot-launcher {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2147483001;
    display: flex;
    width: 60px;
    height: 60px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 99, 235, .4);
    transition: transform .2s ease, box-shadow .2s ease;
}
.fh-chatbot-launcher:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 7px 25px rgba(37, 99, 235, .55);
}
.fh-chatbot-launcher-icon { font-size: 25px; line-height: 1; }
.fh-chatbot-external .fh-chatbot-launcher {
    right: 64px;
    bottom: calc(60px + env(safe-area-inset-bottom));
    z-index: 9;
}
.fh-chatbot-external.fh-chatbot-open .fh-chatbot-launcher {
    display: none !important;
    pointer-events: none;
}
.fh-chatbot-panel {
    position: fixed;
    right: 20px;
    bottom: 92px;
    z-index: 2147483000;
    display: flex;
    width: 320px;
    height: 500px;
    max-height: calc(100vh - 112px);
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 15px;
    box-shadow: 0 12px 42px rgba(15, 23, 42, .24);
}
.fh-chatbot-external .fh-chatbot-panel {
    bottom: calc(126px + env(safe-area-inset-bottom));
    z-index: 8;
    height: min(500px, calc(100vh - 146px));
    height: min(500px, calc(100dvh - 146px - env(safe-area-inset-bottom)));
    max-height: calc(100vh - 146px);
}
.fh-chatbot-header {
    display: flex;
    min-height: 62px;
    padding: 12px 12px 12px 16px;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}
.fh-chatbot-header > div { min-width: 0; }
.fh-chatbot-header strong,
.fh-chatbot-header span { display: block; color: #fff; }
.fh-chatbot-header strong { font-size: 15px; font-weight: 800; }
.fh-chatbot-header span { margin-top: 2px; font-size: 11px; opacity: .85; }
.fh-chatbot-close {
    display: flex;
    width: 36px;
    height: 36px;
    padding: 0;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
}
.fh-chatbot-close:hover { background: rgba(255, 255, 255, .16); }
.fh-chatbot-messages {
    display: flex;
    min-height: 0;
    padding: 14px;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
}
.fh-chatbot-message {
    width: fit-content;
    max-width: 84%;
    padding: 9px 12px;
    border-radius: 15px;
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.fh-chatbot-message p { margin: 0; padding: 0; color: inherit; font-size: inherit; line-height: inherit; }
.fh-chatbot-message-bot {
    align-self: flex-start;
    color: #334155;
    background: #f1f5f9;
    border-bottom-left-radius: 5px;
}
.fh-chatbot-message-user {
    align-self: flex-end;
    color: #fff;
    background: #2563eb;
    border-bottom-right-radius: 5px;
}
.fh-chatbot-action {
    display: inline-flex;
    min-height: 30px;
    margin-top: 8px;
    padding: 5px 9px;
    align-items: center;
    color: #1d4ed8;
    background: #fff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.fh-chatbot-action:hover { color: #fff; background: #1d4ed8; border-color: #1d4ed8; }
.fh-chatbot-typing { min-width: 54px; }
.fh-chatbot-typing span {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 3px;
    background: #94a3b8;
    border-radius: 50%;
    animation: fh-chatbot-pulse 1s ease-in-out infinite;
}
.fh-chatbot-typing span:nth-child(2) { animation-delay: .14s; }
.fh-chatbot-typing span:nth-child(3) { margin-right: 0; animation-delay: .28s; }
@keyframes fh-chatbot-pulse {
    0%, 60%, 100% { opacity: .35; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-2px); }
}
.fh-chatbot-quick-replies {
    display: flex;
    padding: 9px 13px;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 5px;
    border-top: 1px solid #edf2f7;
}
.fh-chatbot-quick-replies button {
    min-height: 30px;
    padding: 5px 9px;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 15px;
    font-size: 11px;
    line-height: 1.2;
    transition: color .15s ease, background-color .15s ease;
}
.fh-chatbot-quick-replies button:hover { color: #fff; background: #0369a1; }
.fh-chatbot-quick-replies button:disabled { cursor: default; opacity: .5; }
.fh-chatbot-form {
    display: flex;
    padding: 10px 12px 8px;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #e2e8f0;
}
.fh-chatbot-form input {
    min-width: 0;
    height: 40px;
    padding: 9px 12px;
    flex: 1 1 auto;
    color: #172033;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    outline: 0;
    font-size: 13px;
}
.fh-chatbot-form input::placeholder { color: #94a3b8; }
.fh-chatbot-send {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 0;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #2563eb;
    border: 0;
    border-radius: 50%;
    font-size: 16px;
}
.fh-chatbot-send:hover { background: #1d4ed8; }
.fh-chatbot-send:disabled { cursor: default; opacity: .5; }
.fh-chatbot-privacy {
    margin: 0;
    padding: 0 14px 10px;
    color: #94a3b8;
    background: #fff;
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
}
.fh-chatbot button:focus-visible,
.fh-chatbot input:focus-visible,
.fh-chatbot a:focus-visible {
    outline: 3px solid #fbbf24 !important;
    outline-offset: 2px;
}
.fh-chatbot-visually-hidden,
.fh-chatbot-launcher-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 480px) {
    .fh-chatbot-launcher {
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        width: 56px;
        height: 56px;
    }
    .fh-chatbot-panel {
        right: 12px;
        bottom: calc(80px + env(safe-area-inset-bottom));
        width: calc(100vw - 24px);
        height: min(500px, calc(100vh - 100px));
        height: min(500px, calc(100dvh - 100px - env(safe-area-inset-bottom)));
        max-height: calc(100vh - 100px);
        border-radius: 14px;
    }
    .fh-chatbot-external .fh-chatbot-launcher {
        right: 64px;
        bottom: calc(60px + env(safe-area-inset-bottom));
    }
    .fh-chatbot-external .fh-chatbot-panel {
        bottom: calc(126px + env(safe-area-inset-bottom));
        height: min(500px, calc(100vh - 146px));
        height: min(500px, calc(100dvh - 146px - env(safe-area-inset-bottom)));
        max-height: calc(100vh - 146px);
    }
}

@media (max-height: 620px) {
    .fh-chatbot-panel { height: calc(100vh - 112px); }
    .fh-chatbot-external .fh-chatbot-panel {
        height: calc(100vh - 146px);
        max-height: calc(100vh - 146px);
    }
}

@media (min-width: 481px) and (max-height: 480px) {
    .fh-chatbot-external .fh-chatbot-panel {
        top: 58px;
        bottom: 58px;
        height: calc(100vh - 116px);
        max-height: calc(100vh - 116px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fh-sms-toast,
    .fh-chatbot-launcher,
    .fh-chatbot-quick-replies button { transition: none; }
    .fh-chatbot-typing span { animation: none; opacity: .7; }
}

/* BASIC css end */

