/* =====================================================
   navigate.css — 경로 따라가기 안내 배너 (독립 모듈)
   navigate.js와 함께 사용
   ===================================================== */

#nav-banner {
    position: fixed;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    width: min(560px, calc(100vw - 24px));
    background: #0f1e33ee;
    border: 1px solid #22c55e55;
    border-radius: 12px;
    padding: 10px 14px;
    color: #e8eefc;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

.navb-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.navb-title { font-size: 14px; font-weight: 700; }

.navb-state-ok { color: #4ade80; font-size: 11px; }
.navb-state-warn { color: #f87171; font-size: 11px; font-weight: 700; }

.navb-btns { display: flex; gap: 6px; }

.navb-btns button {
    background: #16213ecc;
    border: 1px solid #0a84ff55;
    color: #9fc4f7;
    border-radius: 6px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.navb-btns button:hover { background: #0a84ff33; }
.navb-btns button.active { background: #22c55e2b; border-color: #22c55e88; color: #86efac; }

.navb-progress {
    height: 6px;
    background: #0a84ff1a;
    border-radius: 3px;
    margin: 8px 0 7px;
    overflow: hidden;
}
#navb-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    border-radius: 3px;
    transition: width .6s ease;
}

.navb-info {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: #9fb4d8;
    flex-wrap: wrap;
}
.navb-info b { color: #e8eefc; }

#navb-warn {
    margin-top: 8px;
    background: #ef44442b;
    border: 1px solid #ef444466;
    color: #fca5a5;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    animation: navbPulse 1s infinite;
}

@keyframes navbPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .55; }
}

/* 경로 탭의 안내 시작 버튼 */
.nav-start-btn {
    width: 100%;
    margin-top: 8px;
    padding: 9px 0;
    background: linear-gradient(135deg, #16a34a, #15803d);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: filter .2s;
}
.nav-start-btn:hover { filter: brightness(1.15); }

/* ── 모바일 ── */
@media (max-width: 768px) {
    #nav-banner { top: 52px; padding: 8px 10px; }
    .navb-title { font-size: 12px; }
    .navb-info { gap: 8px; font-size: 11px; }
}
