/* =============================================================
   base.css — Inode Analyzer v3.8
   Reset, body, tipografia base, scrollbar global, seleção de texto.
   ============================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background:    var(--bg-base);
    color:         var(--text-1);
    font-family:   'Exo 2', system-ui, sans-serif;
    font-size:     14px;
    line-height:   1.6;
    overflow-x:    hidden;
    transition:    background 0.3s ease, color 0.3s ease;
}

/* Tipografia mono para código/terminal */
code, pre, kbd {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

code {
    background:    var(--bg-input);
    padding:       2px 5px;
    border-radius: 4px;
    color:         var(--accent);
    font-size:     10px;
}

/* ── Scrollbar global (WebKit) ───────────────────────────────── */
::-webkit-scrollbar       { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background:    var(--border-hi);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Seleção de texto ────────────────────────────────────────── */
::selection {
    background: rgba(var(--accent-rgb), 0.25);
    color:      var(--text-1);
}

/* ── Botão de volta ao topo ──────────────────────────────────── */
#backToTop {
    position:      fixed;
    bottom:        24px;
    right:         24px;
    width:         40px;
    height:        40px;
    border-radius: 50%;
    background:    var(--accent);
    color:         #000;
    display:       none;
    align-items:   center;
    justify-content: center;
    cursor:        pointer;
    box-shadow:    0 4px 12px var(--accent-glow);
    z-index:       1000;
    transition:    all 0.2s ease;
    border:        none;
    font-size:     13px;
}
#backToTop:hover { transform: translateY(-3px); }
#backToTop.visible { display: flex; }
