/* Design tokens, exported from the Figma file "Folium SFTP Relay Client"
 * (https://www.figma.com/design/7cNKzBtVEpRH8q1CU7lF6V). The names match the
 * Figma variables one for one; change a value there, then here. Dark only. */

@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 400;
  font-style: normal;
  font-display: block;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 500;
  font-style: normal;
  font-display: block;
  src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-weight: 600;
  font-style: normal;
  font-display: block;
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 400;
  font-style: normal;
  font-display: block;
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-weight: 500;
  font-style: normal;
  font-display: block;
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  /* Primitives */
  --gray-100: #E6E9EE;
  --gray-200: #C9CFD8;
  --gray-300: #A3ABB7;
  --gray-400: #7D8694;
  --gray-500: #5B6470;
  --gray-600: #3A414B;
  --gray-700: #2C323A;
  --gray-800: #22272E;
  --gray-850: #1A1E23;
  --gray-900: #14171B;
  --gray-950: #0E1013;
  --blue-400: #5C9BD9;
  --blue-500: #3B82C9;
  --blue-600: #2F6FB5;
  --blue-900: #15283D;
  --green-500: #4FA36B;
  --green-900: #16291E;
  --amber-500: #C9983A;
  --amber-900: #2D2414;
  --red-500: #D0574F;
  --red-900: #331A18;
  --white: #FFFFFF;
  --blue-700: #28609E;
  --red-400: #E06E66;
  --red-600: #B8453E;

  /* Color */
  --color-bg-app: var(--gray-950);
  --color-bg-panel: var(--gray-900);
  --color-bg-field: var(--gray-850);
  --color-bg-hover: var(--gray-800);
  --color-bg-selected: var(--blue-900);
  --color-border-subtle: var(--gray-800);
  --color-border-default: var(--gray-700);
  --color-border-focus: var(--blue-500);
  --color-text-primary: var(--gray-100);
  --color-text-secondary: var(--gray-300);
  --color-text-muted: var(--gray-400);
  --color-text-disabled: var(--gray-500);
  --color-text-on-accent: var(--white);
  --color-text-link: var(--blue-400);
  --color-accent-default: var(--blue-600);
  --color-accent-hover: var(--blue-700);
  --color-accent-pressed: var(--blue-700);
  --color-status-ok: var(--green-500);
  --color-status-ok-subtle: var(--green-900);
  --color-status-warn: var(--amber-500);
  --color-status-warn-subtle: var(--amber-900);
  --color-status-danger: var(--red-400);
  --color-status-danger-subtle: var(--red-900);
  --color-progress-track: var(--gray-800);
  --color-progress-fill: var(--blue-500);
  --color-status-danger-strong: var(--red-600);

  /* Size */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --radius-control: 4px;
  --radius-panel: 6px;
  --height-control: 32px;
  --height-row: 32px;

  /* Type: the eight Figma text styles. */
  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --type-title: 600 20px/28px var(--font-sans);
  --type-heading: 600 14px/20px var(--font-sans);
  --type-body: 400 13px/20px var(--font-sans);
  --type-body-strong: 500 13px/20px var(--font-sans);
  --type-label: 500 12px/16px var(--font-sans);
  --type-caption: 400 12px/16px var(--font-sans);
  --type-number: 400 13px/20px var(--font-mono);
  --type-number-large: 500 20px/28px var(--font-mono);
}
