/* ========================================
   MOBILE-FIRST CSS - Inscrição V2
   ======================================== */

:root {
  /* Breakpoints */
  --mobile-sm: 320px;
  --mobile-md: 375px;
  --mobile-lg: 414px;
  --tablet: 768px;
  --desktop: 1024px;

  /* Colors */
  --primary: #667eea;
  --primary-dark: #5568d3;
  --secondary: #764ba2;
  --success: #4caf50;
  --danger: #f44336;
  --warning: #ff9800;
  --gray-100: #f5f5f5;
  --gray-200: #e0e0e0;
  --gray-300: #bdbdbd;
  --gray-800: #424242;
  --text-primary: #212121;
  --text-secondary: #757575;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;

  /* Typography */
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* ========================================
   RESET E BASE
   ======================================== */

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body.inscription-v2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--gray-100);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ========================================
   HEADER
   ======================================== */

.inscription-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: var(--shadow-md);
  z-index: 100;
  padding: var(--spacing-md);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-sm);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.btn-back-header {
  background: none;
  border: none;
  padding: var(--spacing-sm);
  cursor: pointer;
  color: var(--text-primary);
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  flex-shrink: 0; /* Não permite que seja comprimido pelo flexbox */
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.btn-back-header:hover {
  background: var(--gray-100);
}

.btn-back-header:active {
  transform: scale(0.95);
  background: var(--gray-200);
}

/* Garantir visibilidade em todas as páginas */
.step-categories .btn-back-header,
.step-essential-data .btn-back-header {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.header-title {
  flex: 1;
  min-width: 0; /* Permite que o título seja truncado se necessário */
}

.header-title h1 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.step-indicator {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.save-status {
  font-size: var(--font-size-xs);
  color: var(--success);
  display: none;
}

.save-status.show {
  display: block;
}

/* ========================================
   PROGRESS BAR
   ======================================== */

.progress-steps-container {
  position: sticky;
  top: 64px; /* Altura do header */
  background: white;
  padding: var(--spacing-md);
  z-index: 99;
  box-shadow: var(--shadow-sm);
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  flex: 1;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: 600;
  transition: all 0.3s;
}

.step-item.active .step-circle {
  background: #1b1d4b;
  color: white;
  transform: scale(1.1);
}

.step-item.completed .step-circle {
  background: var(--success);
  color: white;
}

.step-label {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  text-align: center;
}

.step-item.active .step-label {
  color: var(--primary);
  font-weight: 600;
}

.step-connector {
  height: 2px;
  flex: 1;
  background: var(--gray-200);
  margin: 0 var(--spacing-xs);
  max-width: 40px;
}

.step-connector.completed {
  background: var(--success);
}

/* Mobile < 375px - labels menores */
@media (max-width: 374px) {
  .step-label {
    font-size: 10px;
  }

  .step-circle {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  /* Garantir que botão voltar seja visível em telas pequenas */
  .btn-back-header {
    min-width: 44px;
    min-height: 44px;
  }

  .header-title h1 {
    font-size: 14px;
  }

  .step-indicator {
    font-size: 11px;
  }
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.inscription-content {
  margin-top: 128px; /* Header + Progress */
  padding: var(--spacing-md);
  padding-bottom: 100px; /* Espaço para bottom sheet */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.step-container {
  animation: fadeIn 0.3s ease-in;
}

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

.step-header {
  margin-bottom: var(--spacing-lg);
}

.step-header h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0 0 var(--spacing-sm);
  color: var(--text-primary);
}

.step-header .subtitle {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: 0;
}

/* ========================================
   FILTROS
   ======================================== */

.filters-container {
  margin-bottom: var(--spacing-lg);
}

.btn-filters {
  width: 100%;
  padding: var(--spacing-md);
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-filters:hover {
  background: var(--gray-100);
}

.filters-content {
  margin-top: var(--spacing-md);
  display: grid;
  gap: var(--spacing-md);
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.filters-content.collapsed {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
}

.filter-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.filter-group .form-select {
  width: 100%;
  padding: var(--spacing-md);
  font-size: var(--font-size-base); /* 16px para evitar zoom no iOS */
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: white;
}

/* ========================================
   CATEGORY CARDS
   ======================================== */

.categories-list {
  display: grid;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.category-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  border: 2px solid transparent;
}

.category-card:active {
  transform: scale(0.98);
}

.category-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.category-card.not-eligible {
  opacity: 0.6;
  cursor: not-allowed;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.category-name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.badge-blocked {
  background: var(--danger);
  color: white;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.price-section {
  margin-bottom: var(--spacing-md);
}

.individual-price-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--spacing-sm);
  padding: 6px 10px;
  background: #fff3cd;
  border-left: 3px solid #ff9800;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  color: #856404;
  line-height: 1.4;
}

.individual-price-notice svg {
  flex-shrink: 0;
  color: #f57c00;
}

.individual-price-notice span {
  flex: 1;
  font-weight: 500;
}

.price-badge {
  display: inline-flex;
  flex-direction: column;
  background: #1b1d4b;
  color: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  min-width: 140px;
}

.price-badge.free {
  background: var(--success);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.price-value {
  font-size: var(--font-size-xl);
  font-weight: 700;
  line-height: 1;
}

.price-label {
  font-size: var(--font-size-xs);
  opacity: 0.9;
  margin-top: 4px;
}

.category-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.category-description {
  margin-top: var(--spacing-md);
}

.btn-expand {
  background: none;
  border: none;
  padding: var(--spacing-sm) 0;
  color: var(--primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-expand .chevron {
  transition: transform 0.3s;
}

.description-content {
  padding: var(--spacing-md);
  background: var(--gray-100);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-sm);
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.description-content.collapsed {
  max-height: 0;
  padding: 0;
  margin-top: 0;
  opacity: 0;
}

.description-content p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.selection-indicator {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
}

.category-card.selected .selection-indicator {
  opacity: 1;
  transform: scale(1);
}

.availability-section {
  margin-top: var(--spacing-md);
}

.progress-bar-container {
  margin-bottom: var(--spacing-xs);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.3s;
}

.slots-text {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
}

/* ========================================
   PRICING LEGEND
   ======================================== */

.pricing-legend {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 2px solid #ffc107;
  border-left: 4px solid #ff9800;
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
}

.legend-icon {
  flex-shrink: 0;
  color: #f57c00;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.legend-icon svg {
  width: 20px;
  height: 20px;
}

.legend-content {
  flex: 1;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: #5f4e00;
}

.legend-content strong {
  color: #3e2723;
  font-weight: 600;
}

/* Responsivo para desktop */
@media (min-width: 768px) {
  .pricing-legend {
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .legend-content {
    font-size: var(--font-size-base);
  }
}

/* ========================================
   NO CATEGORIES
   ======================================== */

.no-categories {
  text-align: center;
  padding: var(--spacing-xl);
  display: none;
}

.no-categories p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin: var(--spacing-md) 0;
}

/* ========================================
   BOTTOM SHEET
   ======================================== */

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  padding: var(--spacing-md);
  z-index: 101;
  display: none;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

.bottom-sheet.show {
  display: block !important;
  transform: translateY(0) !important;
}

.bottom-sheet-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  max-width: 1200px;
  margin: 0 auto;
}

/* Botão voltar no bottom-sheet */
.bottom-sheet .btn-back {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 16px;
  background: var(--gray-100);
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.bottom-sheet .btn-back:hover {
  background: var(--gray-200);
}

.bottom-sheet .btn-back:active {
  transform: scale(0.98);
}

.selected-category-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.selected-category-info .category-name {
  font-weight: 600;
  font-size: var(--font-size-base);
}

.selected-category-info .category-price {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--primary);
}

.btn-continue {
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-size-base);
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  min-height: 48px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-continue:hover {
  background: var(--primary-dark);
}

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

/* ========================================
   MOBILE FORM - ETAPA 2
   ======================================== */

.mobile-form {
  padding-bottom: 100px; /* Espaço para bottom navigation */
}

.mobile-input {
  width: 100%;
  height: 48px; /* Touch-friendly */
  font-size: 16px; /* Evita zoom no iOS */
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
  background: white;
}

.mobile-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.mobile-input.is-invalid {
  border-color: var(--danger);
}

.mobile-input.is-valid {
  border-color: var(--success);
  padding-right: 48px; /* Espaço para ícone de validação */
}

/* Input Group (Instagram) */
.input-group {
  display: flex;
  width: 100%;
}

.input-group-text {
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  padding: 12px 16px;
  font-size: 16px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.input-group .mobile-input {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Form Labels */
.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.form-text {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  margin-top: var(--spacing-xs);
}

/* Save Indicator */
.save-indicator {
  display: none;
  font-size: var(--font-size-xs);
  color: var(--success);
  margin-top: 4px;
  animation: fadeIn 0.3s;
}

.save-indicator.show {
  display: block;
}

.save-indicator.saving {
  color: var(--text-secondary);
}

.save-indicator.error {
  color: var(--danger);
}

/* Validation Icon */
.validation-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  display: none;
}

.form-group {
  position: relative;
}

.mobile-input.is-valid ~ .validation-icon {
  display: block;
  color: var(--success);
}

.mobile-input.is-valid ~ .validation-icon::before {
  content: "✓";
}

/* Error Messages */
.error-message {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--danger);
  margin-top: 4px;
  animation: fadeIn 0.3s;
}

/* Expandable Section */
.expandable-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
}

.expand-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: var(--spacing-sm) 0;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
}

.expand-trigger .icon {
  font-size: 24px;
}

.expand-trigger .text {
  flex: 1;
}

.expand-trigger .chevron {
  font-size: 14px;
  color: var(--text-secondary);
  transition: transform 0.3s;
}

.expandable-content {
  margin-top: var(--spacing-md);
  overflow: hidden;
  max-height: 1000px;
  transition: all 0.3s ease-out;
}

.expandable-content.collapsed {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
}

/* Form Navigation (Bottom Fixed) */
.form-navigation {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 16px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 12px;
  z-index: 100;
}

.btn-back {
  flex: 1;
  height: 48px;
  background: var(--gray-100);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back:hover {
  background: var(--gray-200);
}

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

.btn-continue {
  flex: 2;
  height: 48px;
  background: #1b1d4b;
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-continue:hover {
  filter: brightness(1.1);
}

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

.btn-continue:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Spinner para loading */
.spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: white;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease-out;
  max-width: 90%;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.toast-info {
  background: var(--primary);
  color: white;
}

.toast.toast-success {
  background: var(--success);
  color: white;
}

.toast.toast-error {
  background: var(--danger);
  color: white;
}

/* ========================================
   DYNAMIC FIELD CONFIGURATION
   ======================================== */

/* Indicadores de campos obrigatórios */
.required-indicator {
  color: #dc3545;
  font-weight: bold;
  margin-left: 4px;
  font-size: 1.2em;
}

/* Labels com indicador */
.form-label {
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Borda esquerda para campos obrigatórios */
input[required],
select[required],
textarea[required] {
  border-left: 3px solid #ffc107;
}

/* Estado de validação */
.is-invalid {
  border-color: #dc3545 !important;
  border-left-color: #dc3545 !important;
}

.invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Animação suave ao mostrar/ocultar campos */
.form-group {
  transition:
    opacity 0.3s ease,
    max-height 0.3s ease;
}

.form-group.hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media (min-width: 768px) {
  .inscription-content {
    padding: var(--spacing-xl);
  }

  .categories-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-header h2 {
    font-size: 32px;
  }

  .mobile-form {
    max-width: 600px;
    margin: 0 auto;
  }

  .form-navigation {
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .categories-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .bottom-sheet-content {
    justify-content: flex-end;
  }

  .selected-category-info {
    flex: initial;
  }
}

/* ========================================
   LOADING OVERLAY - prepareForPayment
   ======================================== */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  max-width: 80%;
}

.loading-overlay .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  color: var(--text-primary);
  font-size: var(--font-size-base);
  font-weight: 500;
  margin: 0;
  text-align: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Expiration Timer - Step 4 */
.expiration-timer {
  background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%);
  border: 1px solid #ffc107;
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.expiration-timer-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: var(--spacing-sm);
  vertical-align: middle;
}

.expiration-timer-text {
  font-size: var(--font-size-base);
  color: var(--text-primary);
  margin: 0;
}

.expiration-timer-value {
  font-weight: 700;
  font-size: var(--font-size-lg);
  color: var(--warning);
  font-variant-numeric: tabular-nums;
}

.expiration-timer.expired .expiration-timer-value {
  color: var(--danger);
}

/* Mobile Optimization - Loading Overlay */
@media (max-width: 375px) {
  .loading-content {
    min-width: 160px;
    padding: var(--spacing-md);
  }

  .loading-overlay .spinner {
    width: 40px;
    height: 40px;
    border-width: 3px;
  }

  .loading-text {
    font-size: var(--font-size-sm);
  }
}
