/* =========================================================================
   THEME - change the look of the whole app from this one file.
   Colors are taken from the Mr Ice logo; the background is an ice theme.
   ========================================================================= */
:root {
  /* Logo: swap the file at static/img/logo.png (keep a 4:3 shape),
     or point this at a different file. Used in the header and login screen. */
  --logo-url: url("/static/img/logo.png");
  /* The current logo file has wide white margins; zooming crops them so the
     artwork fills the 4:3 frame. Set to 1 for a logo with no margins. */
  --logo-zoom: 1.45;

  /* Brand */
  --navy: #1f2a6e;          /* logo outline */
  --blue: #2b74c7;          /* Texas fill */
  --ice: #e3f1fd;           /* pale ice */
  --ice-deep: #a9d4f5;      /* deeper glacier blue */
  --red: #d81e2a;           /* "Mr." */
  --orange: #f07b1f;        /* beak & feet */

  /* Ice background: a frost-crystal pattern over a cold gradient. */
  --frost-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' fill='none' stroke='%23ffffff' stroke-linecap='round'%3E%3Cg stroke-width='2.2' opacity='.7'%3E%3Cpath d='M24 40h32M32 26l16 28M32 54l16-28M28 40l-4-4M28 40l-4 4M52 40l4-4M52 40l4 4M34 30l-5 1M34 30l1-5M46 50l5-1M46 50l-1 5M34 50l-5-1M34 50l1 5M46 30l5 1M46 30l-1-5'/%3E%3C/g%3E%3Cg stroke-width='1.6' opacity='.55'%3E%3Cpath d='M118 118h24M124 108l12 20M124 128l12-20'/%3E%3C/g%3E%3Cg stroke-width='1.8' opacity='.8'%3E%3Cpath d='M146 30v12M140 36h12M60 136v10M55 141h10M100 70v6M97 73h6'/%3E%3C/g%3E%3C/svg%3E");
  --bg: #cfe7fb;
  --bg-gradient: linear-gradient(172deg, #f4faff 0%, #dcedfd 30%, #bfdff8 65%, #a3d0f3 100%);

  /* Icicles hanging under the header */
  --icicles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='30'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23a9d4f5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 1.5H160V4H150Q147 4 146 9L141 25Q140 28 139 25L134 9Q133 4 130 4H118Q116 4 115.5 7L113 15Q112 17 111 15L108.5 7Q108 4 106 4H88Q85 4 84 10L78 28Q77 30 76 28L70 10Q69 4 66 4H50Q48 4 47.5 7L45 13Q44 15 43 13L40.5 7Q40 4 38 4H24Q21 4 20 9L16 21Q15 23 14 21L10 9Q9 4 6 4H0Z' fill='url(%23g)' stroke='%231f2a6e' stroke-width='2.2' stroke-linejoin='round'/%3E%3Cpath d='M78 10L77 20M141 10L140 18M15 10L14.5 16' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");

  /* Roles */
  --surface: #ffffff;
  --surface-ice: linear-gradient(180deg, #ffffff 0%, #f1f8ff 60%, #e4f1fd 100%);
  --text: #0e1433;
  --text-muted: #3d4874;
  --line: var(--navy);
  --primary: var(--navy);
  --primary-text: #ffffff;
  --accent: var(--blue);
  --danger: var(--red);
  --warn-bg: #fff1d6;
  --warn-text: #6b3a00;
  --ok: #0f7a3d;
  --ok-bg: #dcf5e6;

  /* Shape */
  --outline: 3px;           /* thick sticker-style outlines, like the logo */
  --radius: 14px;
  --radius-sm: 10px;
  --lift: 4px;              /* hard drop shadow under buttons/cards */
  --tap: 60px;              /* minimum height of anything you tap */
  --frost-edge: inset 0 2px 0 rgba(255, 255, 255, .95), inset 0 -3px 0 rgba(169, 212, 245, .45);

  /* Type */
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-size: 18px;
}
