@import url("https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap");

:root {
  /* ── Typography ───────────────────────────────────────────── */
  --font-login: "IBM Plex Mono", monospace;

  /* ── Brand Palette ────────────────────────────────────────── */
  --primary-color: #2f4f2f;
  --secondary-color: #5f8f4d;
  --third-color: #a9cfa5;
  --secondary-light-color: #8bb67a;
  --third-light-color: #cfe5cc;

  /* ── Base / Text / Surfaces ───────────────────────────────── */
  --background-color: #f2f3ee;
  --background-white: #ffffff;
  --text-color: #1e1e1e;
  --text-color-light: #fafafa;

  /* ── Header / Footer ──────────────────────────────────────── */
  --header-bg-color: #1f3521;
  --header-bg-color-footer: #1f3521cc;

  /* ── Accents / App Specific ───────────────────────────────── */
  --profit-color: #3f8a45;
  --profit-color-darker: #2e6a34;
  --excel-color: #4a7a3f;
  --excel-color-darker: #355a2d;
  --pdf-color: #e94e77;
  --pdf-color-darker: #b83a59;
  --slider-active-color: #3a6437;
  --inactive-color: #cccccc;

  /* ── Breadcrumbs ──────────────────────────────────────────── */
  --breadcrumb-bg: #e6e6e6;
  --breadcrumb-active: #5c6e58;

  /* ── Gradients / Theming ──────────────────────────────────── */
  --gradient-primary-start: #2f4f2f;
  --gradient-primary-end: #a9cfa5;
  --bg-primary-end: #132014;

  /* ── Disabled / Error / Example states ────────────────────── */
  --disabled-bg-color: #eaeaea;
  --disabled-bg-color-dark: #d3dae2;
  --disabled-color: #b4b4b4;
  --error-bg-color: #fef2f2;
  --error-border-color: #ef4444;
  --error-text-color: #991b1b;
  --example-bg-color: #ffffff;
  --example-text-color: #ef4444;
  --example-border-color: rgba(239, 68, 68, 0.2);

  /* ── Status Colors ────────────────────────────────────────── */
  --status-on-color: #32a852;
  --background-status-on-color: rgba(50, 168, 82, 0.7);
  --background-status-on-color-light: rgba(50, 168, 82, 0.2);
  --status-on-rgba: 50, 168, 82;

  --status-off-color: #e94e77;
  --background-status-off-color: rgba(233, 78, 119, 0.7);
  --background-status-off-color-light: rgba(233, 78, 119, 0.2);
  --status-off-rgba: 233, 78, 119;

  --status-warning-color: #ffb400;
  --status-warning-rgba: 255, 180, 0;

  --status-withdrawal-color: #18182a;
  --status-withdrawal-rgba: 40, 49, 73;

  /* ── Logs ─────────────────────────────────────────────────── */
  --log-info-color: #4a90e2;
  --log-warning-color: #f5a623;
  --log-error-color: #d0021b;
  --log-critical-color: #9013fe;

  /* ── Overlays / Background Layers ─────────────────────────── */
  --background-overlay: rgba(255, 255, 255, 0.2);
  --background-secondary: rgba(154, 140, 152, 0.1);
  --background-secondary-settings: #6c757d;

  --background-dark0: rgba(47, 79, 47, 0);
  --background-dark_1: rgba(255, 255, 255, 0.7);
  --background-dark_2: rgba(95, 143, 77, 0.5);
  --background-dark_3: rgba(169, 207, 165, 0.4);
  --background-dark_4: rgba(95, 143, 77, 0.2);
  --background-dark: rgba(47, 79, 47, 0.2);
  --background-dark2: rgba(47, 79, 47, 0.4);
  --background-dark3: rgba(47, 79, 47, 0.6);
  --background-dark4: rgba(47, 79, 47, 0.85);

  /* ── Glassmorphism ────────────────────────────────────────── */
  --inner-circle-color: rgba(255, 255, 255, 0.7);
  --glass-bg-color: rgba(0, 0, 0, 0.3);
  --glass-border-color: rgba(255, 255, 255, 0.2);
  --glass-text-shadow: rgba(0, 0, 0, 0.6);
  --glass-box-shadow: rgba(0, 0, 0, 0.2);
  --glass-hover-bg-color: rgba(255, 255, 255, 0.5);

  /* ── Shadows / Radii ──────────────────────────────────────── */
  --tz-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  --tz-border-radius: 0.75rem;
  --box-shadow-color: rgba(0, 0, 0, 0.15);
  --box-shadow-hover-color: rgba(0, 0, 0, 0.25);

  /* ── Inputs ───────────────────────────────────────────────── */
  --input-border-color: rgba(74, 78, 105, 0.7);
  --input-hover-border-color: rgba(74, 78, 105, 0.9);
  --input-bg-color: rgba(74, 78, 105, 0.9);
  --input-hover-bg-color: rgba(74, 78, 105, 1);

  /* ── Cards ────────────────────────────────────────────────── */
  --card-border-color: rgba(74, 78, 105, 0.8);
  --card-bg-color: rgba(74, 78, 105, 0.1);
  --card-hover-bg-color: rgba(74, 78, 105, 0.2);

  /* ── Vendor / Bootstrap overrides ─────────────────────────── */
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}