@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --background: #ffffff;
  --foreground: #111827;
  --card: #ffffff;
  --primary: #0b3a78;
  --secondary: #10b981;
  --accent: #f59e0b;
  --muted: #f3f4f6;
  --muted-foreground: #4b5563;
  --border: #e5e7eb;
  --danger: #ef4444;
  --sidebar: #111827;
  --cursor-default: url("/public/cursor.svg") 2 2, auto;
  --cursor-pointer: url("/public/cursor.svg") 2 2, pointer;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  background: var(--muted);
  color: var(--foreground);
  cursor: var(--cursor-default);
  font-family: "Outfit", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  cursor: var(--cursor-pointer);
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
textarea {
  cursor: text;
}

select,
button,
summary,
input[type="button"],
input[type="checkbox"],
input[type="radio"],
input[type="reset"],
input[type="submit"] {
  cursor: var(--cursor-pointer);
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--muted);
  color: var(--foreground);
  padding: 10px 12px;
  outline: none;
}

input[type="checkbox"] {
  appearance: none;
  display: grid;
  width: 22px;
  height: 22px;
  min-height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  padding: 0;
  box-shadow: inset 0 0 0 1px rgb(148 163 184 / 0.18);
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

input[type="checkbox"]::after {
  content: "";
  width: 13px;
  height: 10px;
  background: #fff;
  clip-path: polygon(14% 46%, 0 62%, 38% 100%, 100% 16%, 84% 0, 36% 66%);
  transform: translateY(-0.5px) scale(0);
  transform-origin: center;
  transition: transform 140ms ease;
}

input[type="checkbox"]:checked {
  border-color: var(--primary);
  background: var(--primary);
}

input[type="checkbox"]:checked::after {
  transform: translateY(-0.5px) scale(1);
}

input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgb(11 58 120 / 0.18);
}
