/* ============================================================
   Foundation-AI Vertical Viewer — viewer.css
   ============================================================ */

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

html, body {
    width: 100%;
    height: 100%;
    background-color: #070d1a;
    font-family: 'Roboto Mono', monospace;
    color: #a3a3a3;
    overflow: hidden;
}

/* ── App Shell ────────────────────────────────────────────── */
#app {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
}

/* ── Top Bar ──────────────────────────────────────────────── */
#top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    padding: 0 24px;
    background-color: #0a1020;
    border-bottom: 1px solid #1a2540;
    flex-shrink: 0;
}

#deck-title {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    color: #f5f5f5;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#slide-counter {
    font-size: 12px;
    color: #00e5ff;
    letter-spacing: 2px;
}

/* ── Stage ────────────────────────────────────────────────── */
#stage {
    display: block;
    background-color: #070d1a;
    overflow-y: auto;
    padding: 24px 0 16px;
    scrollbar-width: thin;
    scrollbar-color: #1a2540 transparent;
}

#stage::-webkit-scrollbar { width: 6px; }
#stage::-webkit-scrollbar-track { background: transparent; }
#stage::-webkit-scrollbar-thumb { background-color: #1a2540; border-radius: 3px; }

/* ── Frame Wrap ───────────────────────────────────────────── */
#frame-wrap {
    flex-shrink: 0;
    box-shadow: 0 4px 40px rgba(0, 229, 255, 0.07), 0 2px 12px rgba(0,0,0,0.6);
}

#slide-frame {
    /* Height is set dynamically by JS to match content */
    min-height: 600px;
    width: 100%;
    border: none;
    display: block;
    background-color: #121212;
}

/* ── Bottom Controls ──────────────────────────────────────── */
#controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 24px;
    background-color: #0a1020;
    border-top: 1px solid #1a2540;
    flex-shrink: 0;
    gap: 16px;
    position: fixed;
    bottom: 0;

}

.nav-btn {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #00e5ff;
    background: transparent;
    border: 1px solid #00e5ff;
    padding: 8px 20px;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.15s, color 0.15s;
}

.nav-btn:hover { background-color: #00e5ff; color: #070d1a; }
.nav-btn:disabled { opacity: 0.25; cursor: not-allowed; pointer-events: none; }

/* ── Dot Strip ────────────────────────────────────────────── */
#dot-strip {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #1a2540;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.15s, transform 0.15s;
    flex-shrink: 0;
}

.dot:hover { background-color: #00e5ff; }
.dot.active { background-color: #00e676; transform: scale(1.4); }
