/* ==========================================================================
   ВЕРНАЯ КАРТА — СТАНДАРТ APPLE WALLET & T-BANK 2026
   Монохромная точность, инсетные списки iOS, никакого визуального шума
   ========================================================================== */

:root {
  /* Системные цвета Apple iOS / Т-Банк */
  --system-bg: #f2f2f7;
  --system-grouped-bg: #f2f2f7;
  --card-bg: #ffffff;
  --card-bg-elevated: #ffffff;
  --card-bg-subtle: #f8f8fa;
  --separator: #e5e5ea;
  --separator-opaque: #d1d1d6;

  /* Текст */
  --text-primary: #000000;
  --text-secondary: #8e8e93;
  --text-tertiary: #c7c7cc;

  /* Семантические цвета */
  --color-green: #34c759;
  --color-green-bg: #eafaf0;
  --color-blue: #007aff;
  --color-blue-bg: #edf5ff;
  --color-amber: #ff9500;
  --color-amber-bg: #fff8eb;
  --color-dark: #1c1c1e;

  /* Радиусы */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Тени Apple */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-sheet: 0 -10px 40px rgba(0, 0, 0, 0.16);

  --nav-height: 54px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  background-color: var(--system-bg);
  color: var(--text-primary);
  min-height: 100vh;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
}

body.body-modal-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   ЭКРАН УСТАНОВКИ (APPLE ONBOARDING)
   -------------------------------------------------------------------------- */
.install-gate-container {
  position: fixed;
  inset: 0;
  background: var(--system-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.install-gate-card {
  background: #ffffff;
  border-radius: var(--r-xl);
  padding: 36px 24px 28px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--separator);
}

.gate-brand-icon {
  width: 64px;
  height: 64px;
  background: #000000;
  color: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.install-gate-card h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.gate-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 24px;
}

.install-instructions-box {
  background: var(--card-bg-subtle);
  border-radius: var(--r-md);
  padding: 16px;
  text-align: left;
  margin-bottom: 20px;
}

.step-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-row:last-child { margin-bottom: 0; }

.step-num {
  width: 22px;
  height: 22px;
  background: #000000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-text {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.3;
}

.ios-share-icon {
  display: inline-flex;
  vertical-align: middle;
  color: var(--color-blue);
  margin: 0 2px;
}

.btn-primary-install {
  width: 100%;
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 12px;
}

.btn-gate-bypass {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px;
}

/* --------------------------------------------------------------------------
   КОРНЕВОЙ КОНТЕЙНЕР
   -------------------------------------------------------------------------- */
.app-container {
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 20px);
}

/* Шапка приложения (Строгий Apple Header) */
.app-header {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 0.5px solid var(--separator);
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon-shield {
  width: 28px;
  height: 28px;
  background: #000000;
  color: #ffffff;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text h1 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000000;
}

.btn-tester-profile {
  background: var(--card-bg-subtle);
  border: 0.5px solid var(--separator);
  color: var(--text-primary);
  padding: 5px 10px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-tester-profile:active {
  background: #e5e5ea;
}

.tester-profile-row {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 0.5px solid var(--separator);
  padding: 12px 16px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
}

.tester-profile-row:last-child {
  border-bottom: none;
}

.tester-profile-row:active {
  background: var(--card-bg-subtle);
}

.tester-profile-active {
  background: var(--color-green-bg);
}

.badge-live-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-green);
  background: var(--color-green-bg);
  padding: 3px 8px;
  border-radius: 6px;
}

.saved-stats-badge {
  background: #ffffff;
  border-bottom: 0.5px solid var(--separator);
  padding: 8px 20px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

.saved-stats-badge strong {
  color: var(--color-green);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Экраны */
.app-screen {
  display: none;
  padding: 16px 16px 0;
}

.app-screen.screen-active {
  display: block;
}

/* --------------------------------------------------------------------------
   ИНСЕТНЫЕ ГРУППЫ IOS (GROUPED INSET LISTS)
   -------------------------------------------------------------------------- */
.section-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin: 18px 4px 6px;
}

.section-title:first-of-type {
  margin-top: 4px;
}

.inset-group {
  background: #ffffff;
  border-radius: var(--r-md);
  border: 0.5px solid var(--separator);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   ЭКРАН 1: СКАНИРОВАНИЕ (APPLE IMMERSIVE CAMERA)
   -------------------------------------------------------------------------- */
.scanner-viewport-card {
  position: relative;
  width: 100%;
  height: 260px;
  background: #000000;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 12px;
}

.camera-feed {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scanner-overlay-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scan-target-frame {
  width: 160px;
  height: 160px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
}

.camera-controls-bar {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.btn-camera-ctrl {
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-camera-ctrl.btn-active {
  background: #ffffff;
  color: #000000;
}

.btn-row-action {
  width: 100%;
  background: #ffffff;
  border: 0.5px solid var(--separator);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 12px;
}

.btn-row-action:active {
  background: var(--card-bg-subtle);
}

/* Список пресетов чеков */
.preset-row-item {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 0.5px solid var(--separator);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  font-size: 15px;
  color: #000000;
  cursor: pointer;
  text-align: left;
}

.preset-row-item:last-child {
  border-bottom: none;
}

.preset-row-item:active {
  background: var(--card-bg-subtle);
}

.preset-info-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preset-title {
  font-weight: 600;
}

.preset-sub {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 400;
}

.preset-amount-val {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Поле ручного ввода */
.manual-input-box {
  background: #ffffff;
  border-radius: var(--r-md);
  border: 0.5px solid var(--separator);
  padding: 6px 8px 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-subtle);
}

.input-text-field {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-size: 14px;
  font-family: inherit;
  color: #000000;
}

.btn-submit-action {
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   ЭКРАН 2: МОИ КАРТЫ
   -------------------------------------------------------------------------- */
.card-config-item {
  background: #ffffff;
  border-radius: var(--r-md);
  border: 0.5px solid var(--separator);
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-subtle);
  transition: opacity 0.2s;
}

.card-config-item.card-disabled {
  opacity: 0.4;
}

.card-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-monogram-circle {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.card-name-title {
  font-size: 15px;
  font-weight: 700;
}

.card-desc-text {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Переключатель Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #e5e5ea;
  border-radius: 24px;
  transition: 0.2s;
}

.toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: 0.2s;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #000000;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(16px);
}

/* Чипсы категорий */
.card-categories-section {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 0.5px solid var(--separator);
}

.categories-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 8px;
}

.category-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.category-chip {
  background: var(--card-bg-subtle);
  border: 0.5px solid var(--separator);
  color: var(--text-primary);
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-chip.chip-active {
  background: var(--color-green-bg);
  border-color: rgba(52, 199, 89, 0.3);
  color: #1b7a37;
  font-weight: 700;
}

.chip-rate {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   ЭКРАН 3: АКЦИИ СБП
   -------------------------------------------------------------------------- */
.sbp-promo-card {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 0.5px solid var(--separator);
}

.sbp-promo-card:last-child {
  border-bottom: none;
}

.sbp-promo-rate {
  background: #000000;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sbp-promo-details h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.sbp-promo-details p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   ЭКРАН 4: КАЛЬКУЛЯТОР
   -------------------------------------------------------------------------- */
.form-row-group {
  padding: 12px 16px;
  border-bottom: 0.5px solid var(--separator);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-row-group:last-child { border-bottom: none; }

.form-row-group label {
  font-size: 14px;
  font-weight: 600;
}

.select-field, .input-clean {
  border: none;
  outline: none;
  background: none;
  font-size: 15px;
  font-family: inherit;
  color: #000000;
  text-align: right;
}

.btn-full-black {
  width: 100%;
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   ЭКРАН 5: ИСТОРИЯ
   -------------------------------------------------------------------------- */
.history-row-item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.5px solid var(--separator);
}

.history-row-item:last-child { border-bottom: none; }

.history-m-name {
  font-size: 15px;
  font-weight: 700;
}

.history-m-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.history-reward-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-green);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.history-sum-val {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   НИЖНИЙ ТАБ-БАР (APPLE TAB BAR)
   -------------------------------------------------------------------------- */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  height: calc(var(--nav-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 0.5px solid var(--separator);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 40;
}

.nav-tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 10px;
}

.nav-tab-btn.nav-active {
  color: #000000;
}

.nav-tab-btn.nav-btn-highlight {
  color: #000000;
}

.nav-tab-btn.nav-btn-highlight .nav-svg-icon {
  width: 32px;
  height: 32px;
  background: #000000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   МОДАЛЬНОЕ ОКНО РЕШЕНИЯ (APPLE PAY BOTTOM SHEET)
   -------------------------------------------------------------------------- */
.decision-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
}

.decision-modal-overlay.modal-active {
  display: flex;
}

.decision-sheet-content {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: var(--shadow-sheet);
  padding: 24px 20px calc(24px + var(--safe-bottom));
  max-height: 85vh;
  overflow-y: auto;
}

.sheet-grabber {
  width: 36px;
  height: 4px;
  background: #d1d1d6;
  border-radius: 2px;
  margin: 0 auto 18px;
}

.sheet-amount-header {
  text-align: center;
  margin-bottom: 20px;
}

.sheet-amount-val {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.sheet-merchant-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.hero-recommendation-box {
  background: var(--card-bg-subtle);
  border: 0.5px solid var(--separator);
  border-radius: var(--r-lg);
  padding: 16px;
  margin-bottom: 16px;
}

.hero-rec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hero-rec-bank {
  font-size: 17px;
  font-weight: 700;
}

.hero-rec-reward {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-green);
  font-variant-numeric: tabular-nums;
}

.hero-rec-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 14px;
}

.btn-open-bank {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 14px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
}

.warning-loss-row {
  background: var(--color-amber-bg);
  border: 0.5px solid rgba(255, 149, 0, 0.2);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 13px;
  color: #995a00;
  line-height: 1.4;
  margin-bottom: 16px;
}

.ranked-mini-list {
  border-top: 0.5px solid var(--separator);
  padding-top: 12px;
  margin-bottom: 14px;
}

.ranked-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}

.btn-sheet-secondary {
  width: 100%;
  background: var(--card-bg-subtle);
  border: 0.5px solid var(--separator);
  color: #000000;
  padding: 12px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* Toast */
.toast-container {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  pointer-events: none;
}

.toast {
  background: #000000;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   ОНБОРДИНГ (APPLE WALLET STYLE)
   ========================================================================== */
.onboarding-overlay-container {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.onboarding-card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.onboarding-hero-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.bg-red-gradient { background: linear-gradient(135deg, #fff0f0, #ffe1e1); }
.bg-blue-gradient { background: linear-gradient(135deg, #eef6ff, #d9ebff); }
.bg-green-gradient { background: linear-gradient(135deg, #effbf3, #d7f7e2); }
.bg-gold-gradient { background: linear-gradient(135deg, #fff9e6, #ffefc2); }

.onboarding-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #000000;
  margin-bottom: 10px;
  line-height: 1.25;
}

.onboarding-text {
  font-size: 14px;
  color: #636366;
  line-height: 1.45;
  margin-bottom: 18px;
}

.onboarding-loss-badge {
  background: #fff0f0;
  color: #ff3b30;
  border: 0.5px solid rgba(255, 59, 48, 0.25);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
}

.onboarding-tip-card {
  background: #eef6ff;
  color: #007aff;
  border: 0.5px solid rgba(0, 122, 255, 0.25);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
}

.onboarding-gain-badge {
  background: #effbf3;
  color: #34c759;
  border: 0.5px solid rgba(52, 199, 89, 0.25);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
}

/* Сетка выбора банков */
.onboarding-banks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  margin-bottom: 14px;
}

.bank-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f2f2f7;
  border: 1.5px solid transparent;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.bank-chip.chip-active {
  background: #ffffff;
  border-color: #007aff;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
}

.bank-dot {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

/* Пагинация */
.onboarding-dots-row {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  margin-bottom: 20px;
}

.onboarding-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #e5e5ea;
  transition: all 0.3s ease;
}

.onboarding-dot.dot-active {
  width: 20px;
  background: #000000;
}

.onboarding-btn-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.btn-onboarding-main {
  width: 100%;
  background: #000000;
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 16px;
  padding: 15px;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.1s;
}

.btn-onboarding-main:active {
  transform: scale(0.98);
}

.btn-onboarding-text {
  background: none;
  border: none;
  color: #8e8e93;
  font-size: 13px;
  font-weight: 500;
  padding: 6px;
  cursor: pointer;
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

