/* 3.css — стили только для 3.html (Профиль) */

body::-webkit-scrollbar {
  width: 6px;
}

body::-webkit-scrollbar-track {
  background: #0d0d0e;
}

body::-webkit-scrollbar-thumb {
  background: #3a3a3c;
  border-radius: 6px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html, body {
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  background: #000;
  color: #e5e7eb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* no scrollbar helper (не tailwind-нейминг, но полезно) */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  scrollbar-width: none;
}

.hidden {
  display: none !important;
}

/* ФОН ХЕДЕРА — чтобы контент под ним не просвечивал */
header { background: #000; }

/* Фон фиксированного хедера, чтобы контент не просвечивал */
.header-gradient {
  background: linear-gradient(to top, #151517, #2f2f32);
}

.profile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  /* Safe-area для iOS */
  padding-top: env(safe-area-inset-top);
  /* Фон, чтобы контент не просвечивал */
  background: #000;
  margin: 0;
}

.header-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background:
    linear-gradient(to top, #141414, #313131) padding-box,
    linear-gradient(#68686B, #545457) border-box;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Внутренний блок хедера (замена rounded/px/py/text/flex/align/text-center) */
.profile-header-inner {
  padding: 15px 24px;
  border-radius: 15px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Заголовок (замена text-xl + font-semibold + flex + gap + justify + mb-3) */
.profile-title {
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

avatar-circle.avatar-circle {
  width: 80px;
  height: 80px;
  margin: 0;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #9333ea, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.875rem;
  font-weight: 700;
  border: 2px solid #374151;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.avatar-img {
  width: 80px;
  height: 80px;
  margin: 0 0 4px 0;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #374151; /* border-2 + border-gray-700 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25); /* shadow-md */
}

.profile-subtext {
  margin: 0;
  color: #d1d5db;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 20px;
  min-height: 20px;
}

/* Делаем высоту хедера стабильной: строка email всегда занимает место */
#profile-header #u-email.hidden {
  display: flex !important;
  visibility: hidden;
}

/* Плавные переходы для внутренних элементов */
#profile-header>* {
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    margin 0.5s ease,
    height 0.5s ease,
    padding 0.5s ease;
}

/* ===== КОМПАКТНЫЙ РЕЖИМ ХЕДЕРА ПРОФИЛЯ ===== */
#profile-header.shrink-header.shrink-header--compact {
  /* убираем любые scale (они создают "воздух") */
  transform: translateY(-4px);

  /* реальное уменьшение высоты за счёт паддингов */
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  min-height: 40px;
  height: auto;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ===== Прячем аватар и блок с именем так, чтобы они не занимали место ===== */
#profile-header.shrink-header.shrink-header--compact #avatar-box,
#profile-header.shrink-header.shrink-header--compact #avatar-img,
#profile-header.shrink-header.shrink-header--compact #u-info-box {
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: translateY(-6px) scale(0.9);
  pointer-events: none;
}

/* ===== ИКОНКА "Профиль" ===== */
/* стандартное состояние */
#profile-header .header-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px 0 0;
}

#profile-header .header-icon i {
  font-size: 25px;
  transition: font-size 0.5s ease;
}

/* компактное состояние: уменьшаем размер и скругление */
#profile-header.shrink-header.shrink-header--compact .header-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  /* уменьшенное закругление */
}

#profile-header.shrink-header.shrink-header--compact .header-icon i {
  font-size: 20px;
}

/* ===== Заголовок "Профиль" в компактном режиме ===== */
#profile-header.shrink-header.shrink-header--compact h1 {
  margin: 0 !important;
  font-size: 1.1rem !important;
  line-height: 1.1;
}



/* ─────────────────────────────────────────
 * Shrink-header (общая логика для 1.html и 2.html)
 * ───────────────────────────────────────── */

.shrink-header {
  transition:
    padding 0.0s ease,
    transform 0.25s ease,
    border-radius 0.25s ease,
    background 0.25s ease;
  transform-origin: top center;
}

.shrink-header.shrink-header--compact {
  padding: 4px 0 !important;
  transform: scale(0.75) translateY(-6px);
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.shrink-header.shrink-header--compact .header-icon {
  width: 44px;
  height: 44px;
}

.shrink-header .header-icon i {
  transition: font-size 0.25s ease;
}

.shrink-header.shrink-header--compact .header-icon i {
  font-size: 23px;
}

.shrink-header.shrink-header--compact p {
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  transition: opacity 0.25s ease, max-height 0.25s ease, margin 0.0s ease;
}

/* логотип на главной в обычном состоянии */
.home-logo {
  transition: opacity 0.25s ease, max-height 0.25s ease, margin 0.25s ease;
  max-height: 80px;
  opacity: 1;
  margin-bottom: 8px;
}

.shrink-header--compact .home-logo {
  opacity: 0;
  max-height: 0;
  margin: 0;
}




/* ===== Скроллбар в модалке оплаты ===== */
.scroll-area::-webkit-scrollbar {
  width: 0px;
}

.scroll-area::-webkit-scrollbar-track {
  background: #0d0d0e;
}

.scroll-area::-webkit-scrollbar-thumb {
  background: #3a3a3c;
  border-radius: 6px;
}


.handle {
  width: 36px;
  height: 4px;
  background: #4b5563;
  border-radius: 2px;
  margin: 0 auto 12px
}

.input-slim {
  background: #0b0f19;
  border: 1px solid #293041;
  border-radius: 10px;
  padding: 10px 12px;
  color: #e5e7eb;
  outline: none;
  width: 100%;
  font-size: 14px
}

/* Пилюли-переключатели кабинетов в iOS стиле */
.pill {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d1d5db;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.pill.active {
  background: #ffffff;
  color: #111827;
  border-color: #ffffff;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.6);
  font-weight: 600;
  transform: translateY(-1px);
}

.pill:active {
  transform: scale(0.96);
}

/* плавный скролл под iOS */
/* Переключатель кабинетов */
#cabs-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
}


/* Bottom nav */
.bottom-gradient {
  background: linear-gradient(to bottom, #151517, #2f2f32);
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  border-top: 1px solid #1f2937;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding-top: 8px;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.bottom-row {
  display: flex;
  justify-content: space-around;
}

.bottom-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 12px;
  color: #6b7280;
}

.bottom-link:hover {
  color: #d1d5db;
}

.bottom-link.is-active {
  color: #ff9f0a;
}

.bottom-link i {
  font-size: 20px;
  line-height: 1;
}

.bottom-link span {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
}



/* стили блока и его заголовков, пояснений, полей ввода, подсказки и кнопки соханить */
.first-open-block {
  background-color: #1C1C1E;
  padding: 16px;
  margin: 0;
  border-radius: 16px;
}

/* текст заголовка */
h2 {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
}

/* текст пояснений */
.text-muted {
  font-size: 0.75rem;
  color: #8E8E93; /* iOS-like gray */
  margin: 3px 0 0 0;
  gap: 0px;
}

/* расстояние между полями (12px) */form-stack
.form-stack {
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* поле ввода */
.input-wrap {
  background-color: #2C2C2E;
  border-radius: 12px;
  padding: 8px 12px;
  margin: 0;
}
.input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
  color: #ffffff;
}
.input::placeholder {
  color: #8E8E93;
}

/* сообщение об ошибке */
.text-warning {
  font-size: 11px;
  color: #FF9F0A;
  margin: 0 2px 0 0;
  padding: 0 4px;
}

/* кнопка */
.btn {
  width: 100%;
  margin: 0;
  padding: 10px 16px;
  border-radius: 12px;
  background-color: #2C2C2E;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.btn:hover {
  background-color: #3A3A3C;
}
.btn:active {
  background-color: rgba(58, 58, 60, 0.9); transform: scale(0.99);
}
.btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* подсказка */
.text-hint {
  font-size: 12px;
  color: #8E8E93;
  margin: 4px 0 0 0;
}




.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #C7C7CC;
  font-size: 13px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, color 0.12s ease, background 0.12s ease;
}
.icon-btn:active {
  transform: scale(0.94);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}
.icon-btn:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}
.icon-btn:disabled:active {
  transform: none;
  background: transparent;
  color: #C7C7CC;
}


/* ─────────────────────────────────────────
 * Модалка (bottom-sheet)
 * ───────────────────────────────────────── */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: .55s;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.stack-12 > * + * { margin-top: 12px; }

.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  background: #000;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  max-height: 80dvh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition:
    transform 0.35s ease-out,
    background 0.65s ease-out,
    box-shadow 0.95s ease-out;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.85);
}
.sheet__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px 16px;
}

/* аналог space-y-5 */
.sheet__body > * + * {
  margin-top: 20px;
}

.sheet__header {
  padding: 12px 16px 8px;
  border-bottom: 1px solid #1C1C1E;
}

.sheet-header-meta {
  flex: 1;
  min-width: 0; /* обязательно для ellipsis */
}

.sheet-header-subtitle {
  font-size: 0.75rem;
  color: #8E8E93;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal.active .sheet {
  transform: translateY(0);
}


.trial-card {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #2D823D;
  backdrop-filter: blur(18px);
}

.trial-card__text {
  color: #d1d1d6;
  font-size: 0.75rem;
  margin: 4px 0 12px 0;
}

.trial-card__gift {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
}
.trial-card__gift-icon {
  font-size: 23px;
  color: #fff;
}
/* pulse */
.pulse-glow {
  animation: heartbeat-green 2.8s ease-in-out infinite;
  will-change: transform, box-shadow;
}
@keyframes heartbeat-green {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(60, 220, 130, 0), 0 0 0 rgba(60, 220, 130, 0) inset; }
  10% { transform: scale(1.17); box-shadow: 0 0 18px rgba(60, 220, 130, 0.85), 0 0 10px rgba(60, 220, 130, 0.55) inset; }
  20% { transform: scale(1.08); box-shadow: 0 0 10px rgba(60, 220, 130, 0.55), 0 0 6px rgba(60, 220, 130, 0.35) inset; }
  32% { transform: scale(1.14); box-shadow: 0 0 14px rgba(60, 220, 130, 0.75), 0 0 8px rgba(60, 220, 130, 0.45) inset; }
  42% { transform: scale(1.05); box-shadow: 0 0 8px rgba(60, 220, 130, 0.4), 0 0 5px rgba(60, 220, 130, 0.3) inset; }
  60% { transform: scale(1); box-shadow: 0 0 3px rgba(60, 220, 130, 0.18), 0 0 2px rgba(60, 220, 130, 0.15) inset; }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(60, 220, 130, 0), 0 0 0 rgba(60, 220, 130, 0) inset; }
}

.trial-btn {
  width: 80%;
  display: block;        /* важно */
  margin: 0 auto;        /* центр по горизонтали */
  padding: 10px 14px;
  border-radius: 12px;
  background-color: #1b5e27;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.trial-btn:hover {
  background-color: #196d28;
}
.trial-btn:active {
  background-color: #185e25; transform: scale(0.99);
}


/* ─────────────────────────────
 * Plan icons (как в 2.html)
 * ───────────────────────────── */
.plan-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  position: relative;
  display: grid;
  place-items: center;
  margin-right: 14px;
  flex: 0 0 60px;
  flex-shrink: 0;

  overflow: visible;
  box-shadow:
    0 14px 30px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -12px 18px rgba(0,0,0,.28);

  transform: translateZ(0);
  backface-visibility: hidden;
}

.plan-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.plan-icon::before {
  content: "";
  position: absolute;
  border-radius: 14px;
  inset: 0;
  background: radial-gradient(120% 90% at 30% 20%, rgba(255,255,255,.28), transparent 55%);
  pointer-events: none;
}

.plan-icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  pointer-events: none;
}

.plan-icon > :not(.plan-icon-bg) {
  position: relative;
  z-index: 1;
}

/* Text icons */
.plan-icon-text--wb,
.plan-icon-text--ozon {
  font-weight: 800;
  color: rgba(255,255,255,.96);
  text-shadow: 0 6px 18px rgba(0,0,0,.45);
}

.plan-icon-text--wb { font-size: 18px; letter-spacing: .3px; }
.plan-icon-text--ozon { font-size: 16px; letter-spacing: .2px; }

/* Combo vertical */
.plan-icon-combo-vertical {
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0.7;
}
.combo-line { font-size: 15px; color: #fff; letter-spacing: 0.5px; }
.combo-plus { font-size: 14px; font-weight: 700; line-height: 1; margin: 2px 0; opacity: 0.9; }
.combo-oz { font-size: 13px; letter-spacing: 0.6px; }

.plan-icon-i {
  font-size: 22px;
  color: rgba(255,255,255,.92);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

/* Backgrounds per plan type */
.plan-icon-bg--default .plan-icon-bg { background: linear-gradient(135deg, #3a3a3c, #1c1c1e); }
.plan-icon-bg--wb .plan-icon-bg { background: linear-gradient(to right, #CB11AB 0%, #990099 45%, #481173 100%); }
.plan-icon-bg--ozon .plan-icon-bg { background: linear-gradient(135deg, #005BFF 70%, #00A2FF 100%); }
.plan-icon-bg--combo .plan-icon-bg { background: linear-gradient(135deg, #CB11AB, #005BFF); }
.plan-icon-bg--reviews .plan-icon-bg { background: linear-gradient(135deg, #f97316 50%, #ffa15e 100%); }
.plan-icon-bg--ransoms .plan-icon-bg { background: linear-gradient(135deg, #22c55e, #06b6d4); }

/* modal icon smaller (если пригодится) */
.plan-icon--modal{
  width: 42px !important;
  height: 42px !important;
  border-radius: 9px !important;
  margin-right: 0 !important;
  flex: 0 0 42px !important;
}
.plan-icon--modal .plan-icon-bg { border-radius: 9px; }
.plan-icon--modal::before,
.plan-icon--modal::after { border-radius: 9px; }

.plan-icon--modal .plan-icon-text--wb { font-size: 13px; }
.plan-icon--modal .plan-icon-text--ozon { font-size: 12px; }
.plan-icon--modal .combo-line { font-size: 11px; }
.plan-icon--modal .combo-plus { font-size: 10px; margin: 1px 0; }
.plan-icon--modal .combo-oz { font-size: 10px; }
.plan-icon--modal .plan-icon-i { font-size: 17px; }


/* ─────────────────────────────────────────
 * Pay modal: cards list (без tailwind)
 * ───────────────────────────────────────── */

.pay-plan-card{
  background: #1C1C1E;
  border: 1px solid #1C1C1E;
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}

.pay-plan-card:hover{
  background: #2C2C2E;
  transform: translateY(-2px);
}

.pay-plan-card:active{
  transform: scale(0.99);
}

.pay-plan-card.is-selected{
  background: #1C1C1E;
  border-color: #0A84FF;
}

.pay-plan-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pay-plan-left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pay-plan-icon{
  flex: 0 0 auto;
}

.pay-plan-titleWrap{
  min-width: 0;
}

.pay-plan-title{
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pay-plan-subtitle{
  margin-top: 2px;
  font-size: 11px;
  color: #8E8E93;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pay-check{
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pay-check--off{
  border: 1px solid rgba(142,142,147,0.8);
  background: transparent;
}

.pay-check--on{
  background: #0A84FF;
  color: #fff;
  font-size: 11px;
}

.pay-plan-features{
  list-style: none;
  margin: 0 0 12px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pay-plan-feature{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.35;
}

.pay-plan-dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  flex: 0 0 6px;
  margin-top: 6px;
}

.pay-plan-feature-text{
  min-width: 0;
}

.pay-plan-bottom{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.pay-plan-priceValue{
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
}

.pay-plan-priceUnit{
  margin-left: 6px;
  font-size: 12px;
  color: #8E8E93;
}

.pay-plan-selected{
  font-size: 11px;
  font-weight: 600;
  color: #0A84FF;
}


.btn--promo {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 12px;
  background-color: #2C2C2E;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.15s ease,
    opacity 0.15s ease,
    transform 0.12s ease;
}

/* hover */
.btn--promo:hover {
  background-color: #3A3A3C;
}

/* active */
.btn--promo:active {
  background-color: rgba(58, 58, 60, 0.9); transform: scale(0.98);
}

/* disabled */
.btn--promo:disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

input::placeholder,
  textarea::placeholder {
    color: #8E8E93;
    opacity: 1;
  }

.btn-link {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font-size: 11px;
  color: #9CA3AF;           /* gray-400 */
  cursor: pointer;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.btn-link:hover { color: #E5E7EB; } /* gray-200 */

/* ───────── Payment buttons ───────── */

.pay-btn {
  flex: 1;
  padding: 8px 0;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  border: 0;
  color: #FFFFFF;
  transition: background-color 0.15s ease;
}

/* Закрыть */
.pay-btn--close {
  background-color: #3A3A3C;
  font-weight: 500;
}

.pay-btn--close:hover {
  background-color: #48484A;
}

.pay-btn--close:active {
  background-color: #505052;
}

/* Оплатить */
.pay-btn--submit {
  background-color: #0A84FF;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pay-btn--submit:hover {
  background-color: #409CFF;
}

.pay-btn--submit:active {
  background-color: rgba(10, 132, 255, 0.9);
}
.pay-link {
  color: #0A84FF;
  text-decoration: none;
}

.pay-link:hover {
  color: #409CFF;
}
