@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
}

button,
a,
input,
select,
textarea,
label,
[role="button"] {
  touch-action: manipulation;
}

.auth-bg {
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.28), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(14, 165, 233, 0.22), transparent 38%),
    radial-gradient(circle at 78% 85%, rgba(99, 102, 241, 0.2), transparent 44%),
    #0b1120;
}

.glass-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -15px rgba(2, 6, 23, 0.45);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.pb-safe {
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
}

.pt-safe {
  padding-top: env(safe-area-inset-top, 0px);
}

.touch-btn {
  min-height: 44px;
}

.touch-chip {
  min-height: 34px;
}

.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1024px) and (pointer: coarse) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input[type="datetime-local"],
  select:not(.compact-select),
  textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 1024px), (pointer: coarse) {
  .touch-btn {
    min-height: 44px;
  }
}

.thin-scroll {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.thin-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.thin-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.thin-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
.thin-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

@media print {
  html,
  body,
  #appMount,
  #map {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}
