/* ==============================================
   PGRBuilder - Global Styles
   ============================================== */

/* ----------------------------------------------
   CSS Variables (Theme Settings)
   ---------------------------------------------- */
:root {
    /* Core Colors */
    --bg-color: #000000;
    /* Main background color */
    --panel-bg: #050505;
    /* Background for panels (Left/Right) */

    /* Text Colors */
    --text-color: #c0c0c0;
    /* Primary text color (Standardized bright gray) */
    --text-dim: #adadad;
    /* Secondary text color (Labels, less important info) */
    --text-highlight: #ffffff;
    /* Highlighted text color */

    /* Accent Colors */
    --accent-red: #ff3333;
    /* Main accent color (Red) */
    --accent-dim: #550000;
    /* Dimmed accent for backgrounds/borders */

    /* UI Elements */
    --border-color: #222;
    /* Default border color */
    --input-bg: #0a0a0a;
    /* Background for input fields */

    /* Fonts */
    /* CYRILLIC FONT STACK */
    --font-header: 'Jura', sans-serif;
    /* Headlines */
    --font-tech: 'JetBrains Mono', monospace;
    /* Technical data / Numbers */
    --font-body: 'Exo 2', sans-serif;
    /* Body text */
}

/* 
   Reset Defaults 
   ----------------------------------------------
   Standard reset to ensure consistent box-sizing and remove default margins.
*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    /* Prevent text selection mostly for app-like feel */
}

/* Inputs Global */
input:focus {
    outline: none;
    /* Remove default browser outline */
}

/* 
   Custom Scrollbar (Webkit)
   ----------------------------------------------
   Styles for Chrome/Edge/Safari scrollbars to match the dark theme.
*/
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    /* Dark track */
}

::-webkit-scrollbar-thumb {
    background: #222;
    /* Dark thumb */
    border-radius: 0;
    border: 1px solid var(--accent-red, red);
    /* Accent border on thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #666;
    /* Lighter on hover */
}

/* 
   Body Switch 
   ----------------------------------------------
   Sets up the main flex container for the page.
*/
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
    font-weight: 500;
}