/* === css/components/advantages-grid.css === */
/* ==========================================================================
   Advantages Grid - 6 карток переваг (блок 2А)
   ========================================================================== */

.advantages-grid-section {
  padding: var(--section-padding-desktop);
  margin-bottom: var(--section-spacing-desktop);
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Br прихований на desktop - показується тільки на мобайлі */
.mobile-br { display: none; }

/* Золотий акцент "20 000+" */
.highlight-gold { color: #f5c842; }

.advantages-grid-section .section-title {
  text-align: center;
  margin-bottom: 0.75rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
}

.advantages-grid-section__subtitle {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.advantages-grid-section__subtitle strong {
  color: var(--color-white);
  font-weight: 700;
}

/* === GRID === */

/* flex-wrap + justify-content:center - центрує неповний останній ряд (5 карток) */
.advantages-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* === FEATURE CARD === */

.feature-card {
  flex: 0 1 calc(33.333% - 1rem);
  min-width: 260px;
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform var(--transition-normal) ease,
              border-color var(--transition-normal) ease;
  box-sizing: border-box;
}

/* іконка + заголовок в рядок */
.feature-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature-card__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  line-height: 1.3;
}

/* Текст на всю ширину картки - під заголовком і під іконкою */
.feature-card__text {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  width: 100%;
  margin: 0;
  line-height: 1.55;
}

/* === HOVER (desktop only) === */

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
  }
}

/* === FOCUS === */

.feature-card:focus-visible {
  outline: 2px solid rgba(100, 149, 237, 0.8);
  outline-offset: 2px;
}

/* === TABLET === */

@media (width >= 768px) and (width < 1024px) {
  .advantages-grid-section {
    padding: var(--section-padding-desktop);
  }

  .advantages-grid-section .section-title {
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }

  .advantages-grid-section__subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .advantages-grid {
    gap: 1.25rem;
  }

  .feature-card {
    flex: 0 1 calc(50% - 0.625rem);
    min-width: 0;
  }
}

/* === MOBILE === */

@media (width < 768px) {
  .advantages-grid-section {
    padding: var(--section-padding-mobile);
    margin-bottom: var(--section-spacing-mobile);
    max-width: 100%;
    box-sizing: border-box;
  }

  .mobile-br { display: block; }

  .advantages-grid-section .section-title {
    font-size: clamp(1.35rem, 6.2vw, 1.7rem);
    margin-bottom: 0.5rem;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .advantages-grid-section__subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
    white-space: normal;
  }

  /* На мобайлі - 1 колонка, картки йдуть вертикально одна за одною */
  .advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .feature-card {
    min-width: 0;
    padding: 0.875rem;
    border-radius: 10px;
  }

  .feature-card__header {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .feature-card__icon {
    font-size: 1.4rem;
  }

  .feature-card__title {
    font-size: 0.9rem;
  }

  .feature-card__text {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

/* === VERY SMALL MOBILE === */

@media (width < 360px) {
  .advantages-grid {
    gap: 0.625rem;
  }

  .feature-card {
    padding: 0.75rem;
  }
}

/* === iOS Safari === */

@supports (-webkit-touch-callout: none) {
  .feature-card {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

/* === FALLBACK === */

@supports not (backdrop-filter: blur(8px)) {
  .feature-card {
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* === REDUCED MOTION === */

@media (prefers-reduced-motion: reduce) {
  .feature-card {
    transition: none;
  }

  .feature-card:hover {
    transform: none;
  }
}

/* === css/components/premium-light.css === */
/* Світла сторінка Speak Up Premium */

.premium-page {
  width: min(72rem, calc(100% - 2rem));
  margin: 2rem auto 4rem;
}

.premium-page h1,
.premium-page h2,
.premium-page h3 {
  font-family: var(--font-head);
  color: #1a1a1a;
}

.premium-page p,
.premium-page li {
  font-family: var(--font-body);
  color: #3a3a3a;
}

.premium-hero,
.premium-why,
.premium-pricing {
  background: #fff;
  border: 1px solid #dadada;
  border-radius: 10px;
  padding: 2.5rem 2rem;
  margin-bottom: 1.5rem;
}

.premium-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 1.5rem;
}

.premium-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.premium-hero__subtitle {
  font-size: 1.15rem;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.premium-hero__photo {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.premium-why h2,
.premium-pricing h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 0.5rem;
}

.premium-why__lead,
.premium-pricing__lead {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.premium-page .feature-card {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #dadada;
  box-shadow: none;
  backdrop-filter: none;
}

.premium-page .feature-card__title {
  font-family: var(--font-head);
  color: #1a1a1a;
}

.premium-page .feature-card__text {
  color: #3a3a3a;
}

.premium-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.premium-price {
  border: 1px solid #dadada;
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.premium-price h3 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
}

.premium-price__term,
.premium-price__label,
.premium-price__parts,
.premium-price__full,
.premium-price__month {
  margin: 0;
}

.premium-price__term {
  margin-bottom: 1rem;
}

.premium-price__label {
  margin-top: 0.75rem;
  color: #6b6b6b;
  font-size: 0.95rem;
}

.premium-price__parts {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: #1a1a1a;
}

.premium-price__full {
  color: #6b6b6b;
  text-decoration: line-through;
}

.premium-price__new {
  margin: 0.25rem 0 0;
  font-family: var(--font-head);
  font-size: 2rem;
  color: #1a1a1a;
}

.premium-price__month {
  margin-bottom: 1.25rem;
}

.premium-price .button {
  margin-top: auto;
}

@media (hover: hover) and (pointer: fine) {
  .premium-page .feature-card:hover {
    transform: none;
    border-color: #e5231b;
  }
}

@media (width <= 900px) {
  .premium-hero,
  .premium-pricing__grid {
    grid-template-columns: 1fr;
  }

  .premium-hero {
    text-align: center;
  }

  .premium-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .premium-hero,
  .premium-why,
  .premium-pricing {
    padding: 1.5rem 1rem;
  }
}

/* === css/components/pricing-modal.css === */
/* ==========================================================================
   Pricing Modal - Модальне вікно для деталей замовлення
   ========================================================================== */

/* === МОДАЛЬНИЙ КОНТЕЙНЕР === */
.pricing-modal {
  position: fixed;
  top: 3rem;
  bottom: 3rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal) ease, visibility var(--transition-normal) ease;
  box-sizing: border-box;
}

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

/* === BACKDROP === */
.pricing-modal__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  cursor: pointer;
}

/* === КОНТЕНТ МОДАЛКИ === */
.pricing-modal__content {
  position: relative;
  z-index: 1;
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 500px;
  width: calc(100% - 2rem);
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  animation: slideInUp var(--transition-normal) ease;
}

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

/* === СКРОЛЮЧА КОНТЕЙНЕР ВСЕРЕДИНІ МОДАЛКИ === */
.pricing-modal__scroll-container {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  padding-right: 0.5rem;
}

/* Скролбар для скрол-контейнера */
.pricing-modal__scroll-container::-webkit-scrollbar {
  width: 8px;
}

.pricing-modal__scroll-container::-webkit-scrollbar-track {
  background: var(--paper);
  border-radius: 10px;
}

.pricing-modal__scroll-container::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

.pricing-modal__scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--graphite-soft);
}

/* === КНОПКА ЗАКРИТТЯ === */
.pricing-modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--transition-normal) ease;
  z-index: 10;
  padding: 0;
}

@media (hover: hover) and (pointer: fine) {
  .pricing-modal__close:hover {
    background: #EDEDEA;
    border-color: var(--border);
    transform: rotate(90deg);
  }
}

.pricing-modal__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* === ЗАГОЛОВОК === */
.pricing-modal__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 1.5rem 0;
  padding: 0;
  line-height: 1.3;
  text-align: center;
  flex-shrink: 0;
}

/* === ПІДЗАГОЛОВОК (ОПИС ВИБОРУ) === */
.pricing-modal__subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-light);
  line-height: 1.5;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin: 0 0 1.5rem 0;
  text-align: center;
}

/* === ТІЛО МОДАЛКИ === */
.pricing-modal__body {
  margin-bottom: 0;
}

/* === НАЗВА ПАКЕТУ === */
.pricing-modal__package-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

/* === БЛОК ОПИСУ === */
.pricing-modal__description {
  margin-bottom: 1.75rem;
}

.pricing-modal__description-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.pricing-modal__description-text {
  font-size: 1rem;
  color: var(--ink-light);
  line-height: 1.5;
  margin: 0;
}

/* === БЛОК "ЩО ВКЛЮЧЕНО" === */
.pricing-modal__includes {
  margin-bottom: 1.75rem;
}

.pricing-modal__includes-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.pricing-modal__includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-modal__includes-item {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-left: 0;
}

.pricing-modal__includes-item::before {
  content: "✓";
  flex-shrink: 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 128, 61, 0.1);
  border: 1px solid rgba(22, 128, 61, 0.45);
  border-radius: 50%;
  color: #15803D;
  font-weight: 700;
  font-size: 0.9rem;
}

/* === БЛОК ЦІНИ === */
.pricing-modal__pricing {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.pricing-modal__pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

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

.pricing-modal__pricing-label {
  color: var(--graphite-soft);
  font-weight: 500;
}

.pricing-modal__pricing-value {
  color: var(--ink);
  font-weight: 600;
}

/* СТАРА ЦІНА */
.pricing-modal__price-old {
  text-decoration: line-through;
  color: var(--graphite-soft);
}

/* НОВА ЦІНА */
.pricing-modal__price-new {
  color: #15803D;
  font-size: 1.1rem;
  font-weight: 700;
}

/* ЦІНА ЗА МІСЯЦЬ/ЗАНЯТТЯ */
.pricing-modal__price-per-unit {
  color: var(--ink-light);
  font-size: 0.9rem;
}

/* ЕКОНОМІЯ */
.pricing-modal__savings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--ink);
  font-weight: 600;
}

/* === КНОПКИ ДІЇ === */
.pricing-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

.pricing-modal__actions .button {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-normal) ease;
  text-align: center;
  white-space: nowrap;
}

.pricing-modal__actions .button--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(231, 30, 20, 0.8) 100%);
  border: 1px solid var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(231, 30, 20, 0.3);
}

@media (hover: hover) and (pointer: fine) {
  .pricing-modal__actions .button--primary:hover {
    background: linear-gradient(135deg, rgba(231, 30, 20, 0.9) 0%, rgba(231, 30, 20, 0.7) 100%);
    box-shadow: 0 6px 16px rgba(231, 30, 20, 0.4);
    transform: translateY(-2px);
  }
}

.pricing-modal__actions .button--primary:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.pricing-modal__actions .button--secondary {
  background: var(--paper-card);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

@media (hover: hover) and (pointer: fine) {
  .pricing-modal__actions .button--secondary:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    transform: translateY(-2px);
  }
}

.pricing-modal__actions .button--secondary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Кнопка "Оплата частинами" - тонкий червоний border */
.pricing-modal__actions .button--secondary:not(.pricing-modal__consultation-btn) {
  border: 0.5px solid var(--color-primary);
}

/* КНОПКА КОНСУЛЬТАЦІЇ */
.pricing-modal__consultation-btn {
  margin-top: 0.5rem;
}

/* === RESPONSIVE === */

@media (max-width: 768px) {
  .pricing-modal {
    top: 3rem;
    bottom: 3rem;
    left: 1rem;
    right: 1rem;
  }

  .pricing-modal__content {
    padding: 2rem;
    max-width: 100%;
    border-radius: 16px;
  }

  .pricing-modal__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .pricing-modal__package-name {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .pricing-modal__close {
    width: 36px;
    height: 36px;
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .pricing-modal {
    top: 3rem;
    bottom: 3rem;
    left: 0.5rem;
    right: 0.5rem;
  }

  .pricing-modal__content {
    padding: 1.5rem;
    max-width: 100%;
    border-radius: 12px;
  }

  .pricing-modal__title {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
  }

  .pricing-modal__package-name {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .pricing-modal__pricing {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .pricing-modal__actions {
    gap: 0.75rem;
  }

  .pricing-modal__actions .button {
    padding: 0.875rem;
    font-size: 0.95rem;
  }
}

/* === css/components/payment-components.css === */
/**
 * Payment Components Styles
 * Стилі для компонентів оплати (модалки, форми, лоадери)
 */

/* Installment Form Modal */
.payment-installment-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.payment-installment-modal {
  position: relative;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease-out;
}

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

.payment-installment-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-installment-modal__close:hover {
  color: #333;
}

.payment-installment-modal__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.payment-installment-modal__subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.payment-installment-form .form-group {
  margin-bottom: 1.5rem;
}

.payment-installment-form label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.payment-installment-form input,
.payment-installment-form select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.payment-installment-form input:focus,
.payment-installment-form select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.payment-installment-form small {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: #666;
}

.payment-installment-info {
  background: #f0f7ff;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #667eea;
}

.payment-installment-info p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  color: #333;
}

/* Payment Loader */
.payment-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  backdrop-filter: blur(8px);
}

.payment-loader {
  text-align: center;
  color: white;
}

.payment-loader__spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.payment-loader__message {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0;
}

/* Payment Waiting (for payparts) */
.payment-waiting-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 1rem;
  backdrop-filter: blur(8px);
}

.payment-waiting {
  max-width: 500px;
  width: 100%;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.payment-waiting__icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.payment-waiting__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.payment-waiting__message {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.payment-waiting__hint {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 2rem;
}

.payment-waiting__spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(102, 126, 234, 0.3);
  border-top-color: #667eea;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s linear infinite;
}

.payment-waiting__order-id {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
  font-family: monospace;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .payment-installment-modal {
    padding: 1.5rem;
    max-height: 95vh;
  }

  .payment-installment-modal__title {
    font-size: 1.5rem;
  }

  .payment-waiting {
    padding: 2rem 1.5rem;
  }

  .payment-waiting__title {
    font-size: 1.5rem;
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .payment-installment-modal,
  .payment-waiting {
    max-height: 85vh;
  }
}
