/* KIOSK-стили: крупные элементы под сенсорный экран планшета */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f1220;
  --card: #1b2036;
  --accent: #ff7a18;
  --accent2: #ffb703;
  --text: #f5f7ff;
  --muted: #9aa4c7;
}

html, body {
  height: 100%;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at top, #1a1f38 0%, var(--bg) 70%);
  color: var(--text);
  -webkit-user-select: none;
  user-select: none;
}

.wrap { min-height: 100vh; display: flex; flex-direction: column; }

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px; background: rgba(0,0,0,.25);
}
.brand { font-size: 22px; font-weight: 700; }
.device-label { font-size: 16px; color: var(--muted); }

.screen {
  flex: 1; display: none; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 24px;
}
.screen.active { display: flex; }

h1 { font-size: 34px; margin-bottom: 8px; }
.subtitle { color: var(--muted); font-size: 18px; margin-bottom: 28px; }

/* Тарифы */
.tariffs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; width: 100%; max-width: 820px;
}
.tariff-card {
  background: var(--card); border: none; border-radius: 20px;
  padding: 28px 20px; color: var(--text); cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
}
.tariff-card:active { transform: scale(.96); }
.t-duration { font-size: 40px; font-weight: 800; }
.t-name { color: var(--muted); margin: 6px 0 14px; font-size: 16px; }
.t-price {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #201200;
}

.loader { color: var(--muted); padding: 40px; }

/* Оплата (QR) */
.qr-box {
  background: #fff; padding: 18px; border-radius: 24px; margin-bottom: 20px;
}
.qr-box img { display: block; width: 300px; height: 300px; }
.pay-info { margin-bottom: 24px; }
.pay-amount { font-size: 30px; font-weight: 800; }
.pay-status { color: var(--accent2); font-size: 18px; margin-top: 6px; }

/* Таймер */
.timer {
  font-size: 96px; font-weight: 800; letter-spacing: 4px;
  margin: 16px 0 24px; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Кнопки */
.btn-secondary {
  background: transparent; border: 2px solid var(--muted); color: var(--muted);
  padding: 14px 32px; border-radius: 999px; font-size: 16px; cursor: pointer;
}
.btn-secondary:active { transform: scale(.96); }
