/* --- GLOBAL CORE STYLES --- */
:root {
    --hf-primary: #235635;
    --hf-accent: #799c4b;
    --hf-accent-hover: #6a8a40;
    --hf-black: #1D1D1B;
    --hf-panel: #262624;
    --hf-border: #333330;
    --text-main: #e0e0e0;
    --text-muted: #999;
    --nav-height: 80px;
    --topbar-height: 40px;
}

* { box-sizing: border-box; }

body { 
    font-family: 'Lato', Helvetica, Arial, sans-serif; 
    background-color: var(--hf-black); 
    color: var(--text-main); 
    margin: 0; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto; 
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
button { border: none; outline: none; cursor: pointer; font-family: 'Lato', sans-serif; }
input { font-family: 'Lato', sans-serif; }
ul { list-style: none; padding: 0; margin: 0; }
img { display: block; max-width: 100%; }

.icon-svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* SHARED BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 50px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: all 0.2s ease; cursor: pointer; text-decoration: none; border: 2px solid transparent; font-family: 'Lato', sans-serif; line-height: 1; }
.btn-primary { background: var(--hf-accent); color: #fff; border-color: var(--hf-accent); box-shadow: 0 5px 20px rgba(0,0,0,0.3); }
.btn-primary:hover { background: var(--hf-accent-hover); border-color: var(--hf-accent-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.4); }
.btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.btn-secondary:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-md { padding: 14px 30px; font-size: 0.95rem; }
.btn-sm { padding: 8px 20px; font-size: 0.75rem; letter-spacing: 0.5px; border-width: 1px; }

/* APP STRUCTURE - NO TRANSFORMS TO KEEP FIXED SIDEBAR ALIGNED */
#app { flex: 1 0 auto; width: 100%; padding-top: calc(var(--nav-height) + var(--topbar-height)); position: relative; }
.view { width: 100%; transition: opacity 0.4s ease; background: var(--hf-black); opacity: 0; pointer-events: none; display: none; }
.view.active { opacity: 1; pointer-events: auto; display: block; }
.content-scroll { overflow-y: auto; height: 100%; scroll-behavior: smooth; }
.content-max { max-width: 1400px; margin: 0 auto; padding: 0 40px; }