/* ============================================================
basicFusion IDE — Motyw: AMOS PROFESSIONAL
Ladowany po style.css. Aktywny, gdy .
Wyprowadzony z oryginalnej palety AMOS BASIC (Amiga):
Teal Background (#008080), AMOS Red (#d00000), AMOS Orange (#ff8800),
Topaz White (#ffffff) & Dark Teal UI.
============================================================ */

html[data-theme="amos-pro"] {
/* ---------- TOKENY BAZOWE (canonical) — uzywane przez Projects, menu/submenu,
   ustawienia, titlebar, AI chat. BEZ nich ten UI leci do ciemnych domyslnych. ---------- */
--bg: #004d4d;
--panel: #005e5e;         /* tla paneli, lista projektow */
--panel-2: #007a7a;       /* wypukle powierzchnie: badge, hover menu, zaznaczony plik */
--gutter: #004b4b;
--ink: #ffffff;           /* glowny tekst UI */
--ink-dim: #a7dada;
--ink-faint: #6ea7a7;
--line: #004040;          /* subtelne linie (ciemniejsze od panelu) */
--line-2: #007a7a;
--accent-hi: #ffa84d;
--accent-dim: #7a4500;
--link: #00e5e5;
--ok: #00c853;
--danger: #ff5a5a;
--on-accent: #000000;     /* tekst na pomaranczowym akcencie */
--btn-primary-ink: #000000;
--border-focus: #ff8800;

/* ---------- POWIERZCHNIE I TŁA (AMOS Teal Palette) ---------- */
--bg-color: #007373;
--bg-darker: #005353;
--bg-deepest: #003a3a;
--bg-output: #006666;
--bg-sidebar: #005e5e;
--bg-panel: #005e5e;
--panel-bg: #005e5e;
--bg-hover: #008a8a;
--bg-active: #ff8800;
--bg-input: #004d4d;
--surface-2: #005353;
--terminal-bg: #004040;
--bg-gutter-deep: #004b4b;

/* ---------- LINIE I RAMKI (AMOS Red & Cyan Wireframe) ---------- */
--border: #004040;
--border-light: #00a3a3;

/* ---------- TEKSTY (AMOS Topaz Font Colors) ---------- */
--text-color: #ffffff;
--text-muted: #a0d8d8;
--text-faint: #5f9e9e;
--text-bright: #ffffff;
--text-white: #ffffff;
--text-soft: #e0f2f2;
--grey-55: #73b3b3;
--grey-66: #5e9999;
--grey-77: #4a8080;
--grey-88: #366666;
--caret: #ff8800;

/* ---------- GŁÓWNY AKCENT (AMOS Pointer Orange & Window Red) ---------- */
--accent: #ff8800;
--accent-light: #ffa333;
--accent-hover: #ffb85c;
--accent-classic: #ff8800;
--accent-glow: transparent;

/* ---------- SYNTAX HIGHLIGHTING (AMOS BASIC Syntax) ---------- */
--token-keyword: #ffffff;       /* AMOS BASIC Keywords - Crisp White */
--token-function: #ffffff;      /* White Functions */
--token-string: #ffcc00;        /* Yellow Strings */
--token-variable: #ffffff;      /* White Variables */
--token-operator: #00ffff;      /* Bright Cyan Operators */
--token-number: #ffaa00;        /* Orange/Amber Numbers */
--token-comment: #a0d8d8;       /* Light Teal / Muted Cyan Comments */
--token-line-number: #5f9e9e;   /* Line Numbers */
--token-label: #ff8800;         /* AMOS Orange Labels */
--token-teal: #00ffff;          /* Cyan */
--token-directive: #d00000;     /* AMOS Red Directives */

/* ---------- OVERLAYE I NAKŁADKI ---------- */
--overlay-soft: rgba(0, 255, 255, 0.1);
--overlay-faint: rgba(255, 255, 255, 0.05);
--overlay-mid: rgba(0, 58, 58, 0.9);

/* ---------- SEMANTYKA ---------- */
--green-bg: #004d26;  --green-bg-hover: #006633;  --green-border: #00ff66;
--red-bg: #5a0000;    --red-bg-deep: #7a0000;     --red-border: #ff2222;


}

/* ============================================================
EXTRA AMOS STYLING ENHANCEMENTS
============================================================ */

/* Kanciaste, surowe okna bez zaokrągleń */
html[data-theme="amos-pro"] button,
html[data-theme="amos-pro"] input,
html[data-theme="amos-pro"] .panel {
border-radius: 0px !important;
}

/* Aktywne focusy w kolorze AMOS Orange */
html[data-theme="amos-pro"] button:focus-visible,
html[data-theme="amos-pro"] input:focus {
outline: 2px solid #ff8800;
}

/* Zaznaczanie tekstu — odwrócony turkus z pomarańczem */
html[data-theme="amos-pro"] ::selection {
background: #ff8800;
color: #000000;
}

/* Retro scrollbar w barwach AMOS */
html[data-theme="amos-pro"] ::-webkit-scrollbar {
width: 10px;
height: 10px;
background-color: #004040;
}

html[data-theme="amos-pro"] ::-webkit-scrollbar-thumb {
background: #005e5e;
border: 1px solid #00a3a3;
border-radius: 0px;
}

html[data-theme="amos-pro"] ::-webkit-scrollbar-thumb:hover {
background: #ff8800;
}

/* Pasek okna AMOS w charakterystycznej czerwieni (#d00000) */
html[data-theme="amos-pro"] .window-titlebar,
html[data-theme="amos-pro"] .amos-header {
background-color: #d00000 !important;
color: #ffffff !important;
}

/* Linki w kolorze Cyan */
html[data-theme="amos-pro"] a {
color: #00ffff;
text-decoration: none;
}

html[data-theme="amos-pro"] a:hover {
color: #ffffff;
background-color: #005e5e;
}