﻿/* /css/variables.css */
:root {
  color-scheme: light;

  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-soft: #e9f1f9;
  --surface-hover: #e1ecf7;

  --text: #17324d;
  --text-soft: #536b80;
  --text-muted: #71879a;

  --accent: #3979ad;
  --accent-hover: #2e6695;
  --accent-soft: #dcebf7;

  --border: #d4e1ec;
  --shadow: 0 8px 30px rgba(34, 72, 105, 0.08);
  --shadow-hover: 0 14px 38px rgba(34, 72, 105, 0.13);

  --success: #4f8068;
  --danger: #a65b62;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --max-width: 1180px;
  --header-height: 76px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;

  --bg: #101d2a;
  --surface: #172838;
  --surface-soft: #1d3245;
  --surface-hover: #233b50;

  --text: #e8f1f8;
  --text-soft: #b4c6d5;
  --text-muted: #8da4b7;

  --accent: #70a8d5;
  --accent-hover: #8bb9df;
  --accent-soft: #23445e;

  --border: #2b4358;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  --shadow-hover: 0 14px 38px rgba(0, 0, 0, 0.28);

  --success: #76a88f;
  --danger: #d07a82;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  transition: background-color 0.2s ease, color 0.2s ease;
}

button,
input,
textarea,
select {
  font: inherit;
}
