/* Shared design tokens for paygo.uz: landing, admin dashboard, guest-order
 * page, and any future portal page all link to this file so the brand stays
 * consistent in one place. */

@font-face {
  font-family: 'Manrope';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Manrope';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Manrope';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Manrope';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Manrope';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-800-cyrillic.woff2') format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: dark;
  /* PayGo brand color - matches lib/services/style/app_colors.dart's
   * AppColors.grade1 (Color.fromARGB(255, 0, 85, 85)) so the site and the
   * app read as one product. */
  --accent: #005555;
  --accent-light: #007a7a;
  --accent-soft: rgba(0, 85, 85, 0.16);
  --bg: #0b1210;
  --card: #131d1b;
  --card-hover: #182523;
  --border: #22302d;
  --text: #f2f5f4;
  --muted: #93a19d;
  --green: #33c47a;
  --amber: #e8a33d;
  --red: #e5566f;
  --radius: 14px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.55);
}

/* Opt-in light palette - pages default to dark (above) unless they set
 * data-theme="light" on <html> (see landing.js for the toggle). */
:root[data-theme='light'] {
  color-scheme: light;
  --accent-soft: rgba(0, 85, 85, 0.1);
  --bg: #f6f9f8;
  --card: #ffffff;
  --card-hover: #eef4f2;
  --border: #e1e8e5;
  --text: #0e1f1c;
  --muted: #5c6b67;
  --shadow: 0 20px 60px -25px rgba(16, 40, 36, 0.18);
}

* { box-sizing: border-box; }
::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 8px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
html { scrollbar-color: var(--border) var(--bg); scrollbar-width: thin; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}
