/* Flat Design — Tailwind CSS v4 theme, Hebrew / RTL.
   Put this in your main CSS file (instead of a bare @import "tailwindcss").
   In RTL use logical utilities: ms-* me-* ps-* pe-* start-* end-* text-start text-end. */
@import url("https://fonts.googleapis.com/css2?family=Miriam+Libre:wght@700&family=Alef:wght@400;700&display=swap");
@import "tailwindcss";

@theme {
  --color-bg: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-surface-2: #ECF0F1;
  --color-fg: #1F2D3A;
  --color-muted: #4A5A68;
  --color-primary: #1A6FB5;
  --color-on-primary: #FFFFFF;
  --color-accent: #F1C40F;
  --color-on-accent: #1F2D3A;
  --color-line: #D5DDE3;
  --color-success: #1E8449;
  --color-warning: #A0620A;
  --color-danger: #B83227;

  --font-display: "Miriam Libre", system-ui, "Segoe UI", Arial, sans-serif;
  --font-sans: "Alef", system-ui, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Alef", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --text-display: 49px;
  --text-h1: 39px;
  --text-h2: 31px;
  --text-h3: 25px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-button: 10px;
  --radius-input: 10px;

  --shadow-card: none;
  --shadow-raised: none;
  --shadow-button: none;
}

@layer base {
  html { direction: rtl; }
  body {
    background-color: var(--color-bg);
    color: var(--color-fg);
    font-family: var(--font-sans);
    line-height: 1.6;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
  }
  :focus-visible { outline: 3px solid #E67E22; outline-offset: 2px; }
}

/* Card / button recipes for this style:
   card:    bg-surface border-[2px] border-line rounded-lg shadow-card p-6
   button:  bg-primary text-on-primary rounded-button shadow-button px-5 min-h-11 font-semibold border-[2px] border-primary
   input:   bg-surface border-[2px] border-line rounded-input px-3 min-h-11 */
