:root {
  --bg: #f7fbff;
  --surface: #ffffff;
  --surface-soft: #f0f8ff;
  --ink: #17324d;
  --muted: #6c8196;
  --line: #dceaf5;
  --primary: #2879df;
  --primary-dark: #1761bb;
  --cyan: #26b9d7;
  --violet: #7867df;
  --green: #36af83;
  --peach: #ee9c72;
  --yellow: #e8b648;
  --danger: #df5b70;
  --shadow: 0 16px 42px rgba(36, 105, 162, .10);
  --shadow-soft: 0 8px 24px rgba(36, 105, 162, .08);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(103, 196, 255, .18) 0, rgba(103,196,255,0) 28%),
    radial-gradient(circle at 92% 14%, rgba(161, 143, 245, .14) 0, rgba(161,143,245,0) 25%),
    radial-gradient(circle at 80% 92%, rgba(94, 219, 179, .12) 0, rgba(94,219,179,0) 24%),
    linear-gradient(180deg, #fbfdff 0%, #f5faff 100%);
  -webkit-tap-highlight-color: transparent;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
.hidden { display: none !important; }

.card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(212, 231, 245, .96);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.btn {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  padding: 12px 20px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  background: linear-gradient(135deg, #3689ed 0%, #246fd2 100%);
  box-shadow: 0 8px 18px rgba(36, 111, 210, .20);
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px) scale(.99); box-shadow: 0 4px 12px rgba(36,111,210,.18); }
.btn.secondary {
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.btn.soft {
  color: var(--primary-dark);
  background: #eaf5ff;
  border: 1px solid #d4eaff;
  box-shadow: none;
}
.btn.danger {
  background: #fff1f3;
  color: #b83b51;
  border: 1px solid #ffd8df;
  box-shadow: none;
}
.btn:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }

.small { color: var(--muted); font-size: 14px; line-height: 1.35; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eaf6ff;
  color: #236cae;
  font-weight: 800;
  font-size: 14px;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #35af7d;
  box-shadow: 0 0 0 5px rgba(53,175,125,.12);
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
