:root {
    --orange: #F97316;
    --navy: #1B2A4A;
    --text: #3C4858;
    --gray: #8492A6;
    --light: #F5F6FA;
    --border: #E0E6ED;
    --sidebar: 270px;
}

/* ── Header ── */
.bdt-guide-header {
    top: 0; left: 0; right: 0;
    height: 5.6rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 2.4rem;
    z-index: 300;
}
.bdt-guide-header img { height: 2.8rem; width: auto; }

/* ── Layout ── */
.bdt-guide-wrap {
    display: flex;
    /*height: 100vh;*/
    /*padding-top: 5.6rem;*/
    /*height: 100%;*/
    position: relative;
}

/* ── Sidebar ── */
.bdt-guide-sidebar {
    width: var(--sidebar);
    min-width: var(--sidebar);
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    z-index: 200;
    overflow-y: auto;
    border-right: 1px solid var(--border)
}
.bdt-sidebar-logo {
    background: var(--orange);
    padding: 1.8rem 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    cursor: pointer;
    flex-shrink: 0;
}
.bdt-sidebar-nav { flex: 1; }
.bdt-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.2rem 2rem;
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
    border: none;
    background: none;
    text-align: left;
    transition: all 0.2s;
    gap: 0.8rem;
}
.bdt-nav-item:hover { color: var(--orange); background:#F6F7F9; }
.bdt-nav-item.bdt-active { color: var(--orange); background: #F6F7F9; font-weight: 600; }
.bdt-nav-item .bdt-nav-lock {
    width: 1.4rem; height: 1.4rem;
    min-width: 1.4rem;
    flex-shrink: 0;
    background: url('/resource/btech/images/themes/main_v2/bid_guide/icon_lock.svg') center/contain no-repeat;
}

.bdt-nav-item:hover .bdt-nav-lock,
.bdt-nav-item.bdt-active .bdt-nav-lock {
    background-image: url('/resource/btech/images/themes/main_v2/bid_guide/icon_lock_active.svg');
}
.bdt-is-logged-in .bdt-nav-item .bdt-nav-lock { display: none; }
.bdt-sidebar-footer {
    padding: 1.6rem 2rem;
    color: var(--gray);
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: auto;
}

/* ── Main Content ── */
.bdt-guide-content { margin-left: var(--sidebar); width: calc(100vw - var(--sidebar)); overflow-y: auto; }

/* ── Section ── */
.bdt-guide-section { display: none; padding: 2rem 4rem; max-width: 1700px; }
.bdt-guide-section.bdt-active { display: block; }
.bdt-section-label {
    display: block;
    color: var(--orange);
    font-size: 2.0rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.bdt-section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3.5rem;
    line-height: 1.35;
}

/* ── 기본 메뉴 설명 ── */
.bdt-menu-cards { display: flex; flex-direction: column; gap: 2rem; }
.bdt-menu-card {
    width: 60%;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2.2rem 2.4rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.2s;
    cursor: default;
}
/*.bdt-menu-card:hover { border-color: var(--orange); }*/
.bdt-menu-card:hover .bdt-menu-card-body h3 { color: var(--orange); }
.bdt-menu-card:hover .bdt-menu-card-body p { color: var(--text); }
.bdt-menu-card-num {
    width: 3rem; height: 3rem; min-width: 3rem;
    background: var(--orange);
    border-radius: 50%;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.2rem;
}
.bdt-menu-card-body h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 0.6rem; }
.bdt-menu-card-body p { font-size: 1.6rem; color: var(--text); line-height: 1.5; }
.bdt-menu-card-body .bdt-hl { color: var(--orange); font-weight: 500; }

/* ── Step Viewer ── */
.bdt-step-image-wrap {
    position: relative;
    background: #e8edf3;
    border-radius: 12px;
    overflow: hidden;
    max-width: 100%;
}
.bdt-step-image-wrap img { width: 100%; max-width: 1650px; height: auto; display: block; }


/* Tooltip */
.bdt-step-tooltip {
    position: absolute;
    width: 32%;
    background: #1a2035;
    border-radius: 10px;
    padding: 2rem 2.2rem 2.2rem;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    z-index: 10;
}

.bdt-tooltip-top { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem; }
.bdt-tooltip-dots { display: flex; gap: 4px; }
.bdt-tooltip-dots .bdt-dot {
    height: 4px; width: 1.8rem;
    border-radius: 2px;
    background: rgba(255,255,255,0.22);
}
.bdt-tooltip-dots .bdt-dot.bdt-on { background: var(--orange); width: 2.6rem; }
.bdt-tooltip-step-num { font-size: 1.3rem; color: rgba(255,255,255,0.45); margin-left: auto; }
.bdt-step-tooltip h3 { font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 0.8rem; }
.bdt-step-tooltip p { font-size: 1.5rem; color: rgba(255,255,255,0.75); line-height: 1.75; word-break: keep-all; }
.bdt-tooltip-next-btn {
    display: block; margin-top: 1.6rem; padding: 0.8rem 2.4rem;
    background: var(--orange); color: #fff;
    border: none; border-radius: 6px;
    font-size: 1.3rem; font-weight: 600;
    cursor: pointer; float: right;
    transition: opacity 0.2s;
}
.bdt-tooltip-next-btn:hover { opacity: 0.85; }


/* Step nav */
.bdt-step-nav {
    display: flex; align-items: center;
    justify-content: center; gap: 1.2rem;
    margin-top: 1.6rem;
}
.bdt-step-nav-btn {
    width: 3.6rem; height: 3.6rem;
    border: 1.5px solid var(--border);
    border-radius: 50%; background: #fff;
    font-size: 2rem; line-height: 1;
    cursor: pointer; color: var(--gray);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.bdt-step-nav-btn:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
.bdt-step-nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.bdt-step-counter { font-size: 1.4rem; color: var(--gray); min-width: 5rem; text-align: center; }
.bdt-step-counter strong { color: var(--text); font-weight: 700; }

/* ── Lock Modal ── */
.bdt-lock-modal-bg {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.48); z-index: 500;
    align-items: center; justify-content: center;
}
.bdt-lock-modal-bg.bdt-show { display: flex; }
.bdt-lock-modal {
    background: #fff; border-radius: 12px;
    padding: 3.6rem 4rem; text-align: center;
    width: 36rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.bdt-lock-icon-wrap {
    width: 6rem; height: 6rem; margin: 0 auto 2rem;
    background: var(--light); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.bdt-lock-icon-wrap svg, .bdt-lock-icon-wrap img { width: 2.4rem; height: 2.4rem; }
.bdt-lock-modal p { font-size: 1.6rem; color: var(--text); margin-bottom: 2.4rem; }
.bdt-modal-btns { display: flex; gap: 1rem; justify-content: center; }
.bdt-btn-cancel {
    padding: 1rem 2.4rem;
    border: 1.5px solid var(--border); border-radius: 6px;
    background: #fff; font-size: 1.6rem; cursor: pointer; color: var(--gray);
}
.bdt-btn-login {
    padding: 1rem 2.8rem;
    background: var(--orange); border: none; border-radius: 6px;
    color: #fff; font-size: 1.6rem; font-weight: 600; cursor: pointer;
    transition: opacity 0.2s;
}
.bdt-btn-login:hover { opacity: 0.85; }

/* ── 고객센터 ── */
.bdt-support-layout { display: flex; gap: 5.5rem; align-items: flex-start; }
.bdt-faq-area { flex: 1; min-width: 0; }
.bdt-faq-title { font-size: 2.4rem; font-weight: 500; margin-bottom: 2rem; }
.bdt-faq-list { border-top: 1.5px solid #ddd; }
.bdt-faq-item { border-bottom: 1px solid var(--border); }
.bdt-faq-item:hover { background: #F6F7F9; }
.bdt-faq-question {
    display: flex; align-items: center; gap: 1.2rem;
    padding: 2.5rem 1.6rem; cursor: pointer;
    font-size: 1.8rem; color: var(--text); font-weight: 500;
    transition: color 0.2s;
}
.bdt-faq-item:hover .bdt-faq-question { color: var(--orange); }
.bdt-faq-q-icon {
    width: 2.4rem; height: 2.4rem; min-width: 2.4rem;
    flex-shrink: 0;
}
.bdt-faq-arrow { margin-left: auto; width: 2rem; height: 2rem; color: var(--gray); flex-shrink: 0; transition: transform 0.3s; }
.bdt-faq-item.bdt-open .bdt-faq-arrow { transform: rotate(180deg); }
.bdt-faq-answer { display: none; padding: 0 0 1.8rem 3.6rem; font-size: 1.6rem; color: var(--text); line-height: 1.8; }
.bdt-faq-item.bdt-open .bdt-faq-answer { display: block; }
.bdt-faq-pagination {
    display: flex; align-items: center;
    justify-content: center; gap: 0.4rem;
    margin-top: 3rem;
}
.bdt-page-btn {
    width: 3.2rem; height: 3.2rem;
    border: 1.5px solid var(--border); border-radius: 4px;
    background: #fff; font-size: 1.3rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text); transition: all 0.2s;
}
.bdt-page-btn.bdt-active { border-color: var(--orange); color: var(--orange); font-weight: 700; }
.bdt-page-btn:hover:not(.bdt-active):not(:disabled) { border-color: var(--gray); }
.bdt-page-btn.bdt-arr { border: none; font-size: 1.8rem; color: var(--gray); }
.bdt-page-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* Contact card */
.bdt-contact-card {
    width: 30rem; min-width: 24rem;
    border: 1.5px solid var(--border); border-radius: 12px;
    padding: 2.4rem; position: sticky; top: 3rem;
}
.bdt-contact-card-title { font-size: 1.8rem; font-weight: 700; text-align: center; margin-bottom: 1rem; }
.bdt-contact-card-desc { font-size: 1.6rem; color: var(--gray); text-align: center; margin-bottom: 1.6rem; line-height: 1.6; }
.bdt-contact-chat-btn {
    width: 100%; padding: 1.2rem;
    background: var(--orange); color: #fff;
    border: none; border-radius: 8px;
    font-size: 1.6rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0.8rem;
    margin-bottom: 1.6rem; transition: opacity 0.2s;
}
.bdt-contact-chat-btn:hover { opacity: 0.85; }
.bdt-contact-info-row {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.2rem 0; border-top: 1px solid var(--border);
}
.bdt-ci-label { font-size: 1.6rem; font-weight: 600; white-space: nowrap; }
.bdt-ci-val { font-size: 1.6rem; color: var(--gray); line-height: 1.8; }



::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d0d8e4; border-radius: 4px; }

/* ── 반응형 (태블릿 ~1280px) ── */
@media (max-width: 1280px) {
    :root { --sidebar: 220px; }
    body { min-width: 768px; }

    .bdt-guide-section { padding: 2rem 2.8rem; }
    .bdt-section-title { font-size: 2.4rem; margin-bottom: 2.8rem; }

    .bdt-menu-card { width: 80%; }

    .bdt-step-tooltip {
        width: 32%;
        padding: 1.2rem 1.4rem 1.4rem;
    }
    .bdt-step-tooltip h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
    .bdt-step-tooltip p  { font-size: 1.05rem; line-height: 1.55; word-break: keep-all; }
    .bdt-tooltip-top { margin-bottom: 0.8rem; }
    .bdt-tooltip-next-btn { padding: 0.5rem 1.4rem; font-size: 1.05rem; margin-top: 0.8rem; }
}
