/* =============================================================
   TOTAL FUTBOL - CREATE STORE CSS
   Estilos específicos para el wizard de creación de tiendas
   Mantiene consistencia con styles.css (azul y blanco)
   ============================================================= */

/* ===== VARIABLES GLOBALES ===== */
:root {
  /* Colores principales (consistentes con styles.css) */
  --primary-blue: #2563eb;
  --primary-blue-hover: #1d4ed8;
  --primary-light: #dbeafe;
  --neutral-grey: #6b7280;
  --light-grey: #f3f4f6;
  --border-grey: #e5e7eb;
  --text-dark: #1f2937;
  --text-black: #111827;
  --error-red: #dc2626;
  --error-bg: #fef2f2;
  --success-green: #10b981;

  /* Radios y transiciones */
  --button-radius: 0.5rem;
  --card-radius: 0.75rem;
  --transition-fast: 0.2s ease;

  /* Tipografía */
  --font-sans: "Inter", sans-serif;
}

/* ===== RESET Y ESTILOS BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #ffffff;
  color: var(--text-black);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Screen reader only */
.sr-only,
.hidden-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

/* ===== LAYOUT PRINCIPAL DEL WIZARD ===== */
.wizard-container {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
  background-color: #ffffff;
  min-height: calc(100vh - 80px);
  padding-bottom: 6rem;
  overflow: visible !important;
}

.wizard-slides {
  width: 100%;
  max-width: 1200px;
  position: relative;
  overflow: visible;
}

/* ===== SLIDES DEL WIZARD ===== */
.slide {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  position: relative;
}

/* Ocultar header de puntos */
.wizard-header {
  display: none !important;
}

/* ===== TARJETAS DE SLIDE ===== */
.slide-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 1rem auto;
  position: relative;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
  border: 1px solid var(--border-grey);
  overflow: visible !important;
}

/* ===== CONTENIDO DE SLIDES ===== */
.slide-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding: 3rem 3rem 1rem 3rem;
  width: 100%;
  flex: 1;
  overflow: visible !important;
}

.slide-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 50%;
}

.slide-text h2 {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.slide-text p,
.intro-text {
  font-size: 1.125rem;
  color: var(--neutral-grey);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ===== ESTILOS DE FORMULARIO ===== */
.form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: visible; /* Permite que los elementos se desborden */
}

.form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.form label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.form input[type="text"],
.form input[type="tel"],
.form input[type="url"],
.form textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  color: var(--text-black);
  background-color: #ffffff;
  border: 2px solid var(--border-grey);
  border-radius: var(--button-radius);
  transition: all var(--transition-fast);
  resize: vertical;
  min-height: 48px;
  font-family: var(--font-sans);
}

.form input[type="text"]:focus,
.form input[type="tel"]:focus,
.form input[type="url"]:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form textarea {
  min-height: 100px;
  resize: vertical;
}

/* Estilos para inputs con error */
.input-error {
  border-color: var(--error-red) !important;
  background-color: var(--error-bg);
}

.error-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--error-red);
  font-weight: 500;
}

.small-text {
  font-size: 0.875rem;
  color: var(--neutral-grey);
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.char-counter {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--neutral-grey);
  text-align: right;
}

.opcional {
  color: var(--neutral-grey);
  font-size: 0.9rem;
  font-weight: normal;
}

/* ===== CUSTOM SELECT (DROPDOWN) - MEJORADO ===== */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  z-index: 100; /* Z-index moderado pero suficiente */
  overflow: visible; /* Permite que el dropdown se desborde */
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  color: var(--text-black);
  background-color: #ffffff;
  border: 2px solid var(--border-grey);
  border-radius: var(--button-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  min-height: 48px;
  font-family: var(--font-sans);
}

.custom-select-trigger:focus,
.custom-select-trigger:hover {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.custom-select-trigger.active {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.custom-select-trigger i {
  transition: transform 0.3s ease;
  color: var(--neutral-grey);
}

.custom-select-trigger.active i {
  transform: rotate(180deg);
  color: var(--primary-blue);
}

.custom-select-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border: 2px solid var(--primary-blue);
  border-radius: var(--button-radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25); /* Sombra más prominente */
  z-index: 200; /* Z-index alto pero controlado */
  margin-top: 0.25rem;
  flex-direction: column;
  overflow: hidden;
  max-height: 350px;
  backdrop-filter: blur(10px); /* Efecto de desenfoque */
}

.custom-select-wrapper.active .custom-select-options {
  display: flex !important;
  animation: dropdownSlideIn 0.3s ease-out;
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-select-options .search-input-dropdown {
  width: calc(100% - 1.5rem);
  padding: 0.875rem;
  margin: 0.75rem;
  border: 1px solid var(--border-grey);
  border-radius: 6px;
  font-size: 1rem;
  background-color: #f8f9fa;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
}

.custom-select-options .search-input-dropdown:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
  background-color: #ffffff;
}

.custom-select-options .options-scroll-area {
  max-height: 250px;
  overflow-y: auto;
  padding-bottom: 0.5rem;
}

.custom-select-options a {
  padding: 1rem;
  text-decoration: none;
  color: var(--text-dark);
  display: block;
  transition: all var(--transition-fast);
  border-bottom: 1px solid #f1f3f4;
  font-size: 1rem;
}

.custom-select-options a:last-child {
  border-bottom: none;
}

.custom-select-options a:hover {
  background-color: var(--primary-light);
  color: var(--primary-blue);
}

.custom-select-options a.selected {
  background-color: var(--primary-light);
  color: var(--primary-blue);
  font-weight: 600;
}

/* ===== DROPZONES PARA BANNER Y LOGO ===== */
.dropzone-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Dropzone Banner */
.dropzone-banner {
  width: 100%;
  height: 280px;
  border: 3px dashed var(--primary-blue);
  border-radius: var(--card-radius);
  background-color: var(--light-grey);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 1rem auto;
}

.dropzone-banner:hover {
  border-color: var(--primary-blue-hover);
  background-color: #fafafa;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dropzone-banner.drag-over {
  border-color: var(--primary-blue-hover);
  background-color: var(--primary-light);
  transform: scale(1.02);
}

.dropzone-banner .dz-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  pointer-events: none;
}

.dropzone-banner .dz-content .dz-icon {
  margin-bottom: 1rem;
  width: 64px;
  height: 64px;
  color: var(--primary-blue);
  transition: transform var(--transition-fast);
}

.dropzone-banner:hover .dz-content .dz-icon {
  transform: scale(1.1);
  color: var(--primary-blue-hover);
}

.dz-text {
  font-size: 1.125rem;
  color: var(--neutral-grey);
  font-weight: 600;
}

.dz-text small {
  font-size: 1rem;
  display: block;
  margin-top: 0.5rem;
  font-weight: 400;
}

.dropzone-banner input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.dropzone-banner .dz-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropzone-banner .dz-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--card-radius);
}

/* Dropzone Logo */
.dropzone-logo {
  width: 180px;
  height: 180px;
  border: 3px dashed var(--primary-blue);
  border-radius: 50%;
  background-color: #ffffff;
  position: absolute;
  top: calc(280px - 90px);
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.dropzone-logo:hover {
  border-color: var(--primary-blue-hover);
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dropzone-logo.drag-over {
  border-color: var(--primary-blue-hover);
  background-color: var(--primary-light);
  transform: translateX(-50%) scale(1.05);
}

.dropzone-logo .dz-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  pointer-events: none;
}

.dropzone-logo .dz-content .dz-icon {
  margin-bottom: 0.5rem;
  width: 48px;
  height: 48px;
  color: var(--primary-blue);
  transition: transform var(--transition-fast);
}

.dropzone-logo:hover .dz-content .dz-icon {
  transform: scale(1.1);
  color: var(--primary-blue-hover);
}

.dropzone-logo input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.dropzone-logo .dz-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropzone-logo .dz-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ===== BOTONES DEL WIZARD ===== */
.btn-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  padding: 2rem 3rem;
  margin-top: auto;
  background-color: #ffffff;
  border-top: 1px solid var(--border-grey);
  position: relative;
  z-index: 50;
  flex-shrink: 0;
}

.btn-next,
.btn-prev,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--button-radius);
  cursor: pointer;
  text-decoration: none;
  min-width: 140px;
  transition: all var(--transition-fast);
  border: 2px solid var(--primary-blue);
  font-family: var(--font-sans);
  position: relative;
  z-index: 10;
  opacity: 1;
  visibility: visible;
}

.btn-next,
.btn-prev {
  background-color: #ffffff;
  color: var(--primary-blue);
}

.btn-next:hover,
.btn-prev:hover {
  background-color: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:disabled {
  background-color: #9ca3af;
  border-color: #9ca3af;
  color: #ffffff;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===== RESUMEN FINAL MEJORADO ===== */
.summary-details {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 0;
  border-radius: 1rem;
  margin: 2rem auto;
  border: 1px solid var(--border-grey);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  overflow: hidden;
}

/* Header del resumen */
.summary-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-hover) 100%);
  color: white;
  padding: 1.5rem 2rem;
  text-align: center;
  margin-bottom: 0;
}

.summary-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.summary-header h3::before {
  content: "✓";
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Grid de datos */
.summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 2rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item:hover {
  background-color: rgba(37, 99, 235, 0.02);
  border-radius: 0.5rem;
  margin: 0 -0.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.summary-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.summary-label::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.summary-value {
  color: var(--neutral-grey);
  font-size: 0.95rem;
  text-align: right;
  flex: 1;
  margin-left: 1rem;
  word-break: break-word;
}

/* Estilos especiales para ciertos valores */
.summary-value.store-id {
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  background: #f1f5f9;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  color: var(--primary-blue);
  font-weight: 600;
}

.summary-value.status-uploaded {
  color: var(--success-green);
  font-weight: 600;
}

.summary-value.status-uploaded::before {
  content: "✓ ";
}

.summary-value.status-not-specified {
  color: #94a3b8;
  font-style: italic;
}

/* Sección de archivos subidos */
.summary-files {
  background: #f8fafc;
  margin: 0 -2rem -2rem -2rem;
  padding: 1.5rem 2rem 2rem 2rem;
  border-top: 1px solid #e5e7eb;
}

.summary-files h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.summary-files h4::before {
  content: "📁";
  font-size: 1.2rem;
}

.files-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.file-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: white;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}

.file-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.file-icon.banner {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.file-icon.logo {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-radius: 50%;
}

.file-info h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.25rem 0;
}

.file-info p {
  font-size: 0.8rem;
  color: var(--neutral-grey);
  margin: 0;
}

/* Responsive para el resumen */
@media (max-width: 768px) {
  .summary-details {
    margin: 1rem auto;
    max-width: 100%;
  }

  .summary-grid {
    padding: 1.5rem;
  }

  .summary-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .summary-label {
    min-width: auto;
  }

  .summary-value {
    text-align: left;
    margin-left: 0;
  }

  .files-grid {
    grid-template-columns: 1fr;
  }

  .summary-files {
    margin: 0 -1.5rem -1.5rem -1.5rem;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .summary-header {
    padding: 1.25rem 1.5rem;
  }

  .summary-header h3 {
    font-size: 1.25rem;
  }

  .summary-grid {
    padding: 1.25rem;
  }

  .summary-item {
    padding: 0.75rem 0;
  }

  .summary-label,
  .summary-value {
    font-size: 0.9rem;
  }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets grandes */
@media (max-width: 1024px) {
  .wizard-container {
    padding: 1.5rem 1rem;
    padding-bottom: 5rem;
  }

  .slide-content {
    gap: 2rem;
    padding: 2.5rem 2.5rem 1rem 2.5rem;
  }

  .slide-text h2 {
    font-size: 2.25rem;
  }

  .dropzone-banner {
    height: 240px;
  }

  .dropzone-logo {
    width: 160px;
    height: 160px;
    top: calc(240px - 80px);
  }
}

/* Tablets */
@media (max-width: 768px) {
  .wizard-container {
    padding: 1rem 0.5rem;
    padding-bottom: 8rem;
  }

  .slide-content {
    flex-direction: column;
    padding: 2rem 2rem 1rem 2rem;
    gap: 2rem;
    text-align: center;
  }

  .slide-text {
    max-width: 100%;
  }

  .slide-text h2 {
    font-size: 2rem;
  }

  .slide-text p,
  .intro-text {
    font-size: 1rem;
  }

  .form {
    max-width: 100%;
  }

  .btn-row {
    padding: 1.5rem 2rem;
    justify-content: center;
    border-top: 2px solid var(--border-grey);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 50;
  }

  .dropzone-banner {
    height: 200px;
  }

  .dropzone-logo {
    width: 140px;
    height: 140px;
    top: calc(200px - 70px);
  }

  .custom-select-options {
    max-height: 250px;
  }

  /* Para móvil, asegurar que el dropdown se vea */
  .custom-select-wrapper {
    z-index: 300;
  }

  .custom-select-options {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    max-height: 250px;
    z-index: 200;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  }
}

/* Móviles */
@media (max-width: 480px) {
  .wizard-container {
    padding: 0.5rem 0.25rem;
    padding-bottom: 10rem;
  }

  .slide-card {
    margin: 0.5rem auto;
    border-radius: 0.5rem;
  }

  .slide-content {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    gap: 1.5rem;
  }

  .slide-text h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .slide-text p,
  .intro-text {
    font-size: 0.95rem;
  }

  .form {
    gap: 1.25rem;
  }

  .form input[type="text"],
  .form input[type="tel"],
  .form input[type="url"],
  .form textarea,
  .custom-select-trigger {
    padding: 0.875rem;
    font-size: 16px; /* Evita zoom en iOS */
    min-height: 44px;
  }

  .btn-row {
    position: relative;
    background-color: #ffffff;
    padding: 1rem;
    margin-top: auto;
    gap: 0.75rem;
    flex-direction: column;
    z-index: 50;
    border-top: 3px solid var(--primary-blue);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
  }

  .btn-next,
  .btn-prev,
  .btn-primary {
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
  }

  .dropzone-container {
    margin: 1rem auto 0;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .dropzone-banner {
    height: 160px;
    border-width: 2px;
  }

  .dropzone-logo {
    width: 100px;
    height: 100px;
    top: calc(160px - 50px);
    border-width: 2px;
  }

  .dropzone-banner .dz-content .dz-icon {
    width: 48px;
    height: 48px;
  }

  .dropzone-logo .dz-content .dz-icon {
    width: 36px;
    height: 36px;
  }

  .dz-text {
    font-size: 1rem;
  }

  .dz-text small {
    font-size: 0.875rem;
  }

  .custom-select-options {
    max-height: 200px;
    border-width: 2px;
  }

  .custom-select-options .search-input-dropdown {
    margin: 0.5rem;
    padding: 0.75rem;
    font-size: 16px;
  }

  .summary-details {
    padding: 1.5rem;
    margin: 0.5rem 0;
  }

  .summary-details p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
}

/* Móviles muy pequeños */
@media (max-width: 320px) {
  .slide-text h2 {
    font-size: 1.5rem;
  }

  .slide-content {
    padding: 1rem 1rem 0.5rem 1rem;
  }

  .form input[type="text"],
  .form input[type="tel"],
  .form input[type="url"],
  .form textarea,
  .custom-select-trigger {
    padding: 0.75rem;
    min-height: 40px;
  }

  .btn-row {
    padding: 0.75rem;
  }

  .btn-next,
  .btn-prev,
  .btn-primary {
    min-height: 44px;
    font-size: 0.95rem;
  }

  .dropzone-banner {
    height: 140px;
  }

  .dropzone-logo {
    width: 80px;
    height: 80px;
    top: calc(140px - 40px);
  }
}

/* ===== ESTADOS DE CARGA Y ANIMACIONES ===== */
.slide-card {
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible para navegación por teclado */
.btn-next:focus-visible,
.btn-prev:focus-visible,
.btn-primary:focus-visible,
.custom-select-trigger:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* ===== OVERLAY PARA MODALES ===== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ===== ESTILOS PARA MENSAJES DE ESTADO ===== */
.loading-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  color: var(--neutral-grey);
  font-weight: 500;
}

.loading-message::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-grey);
  border-top: 2px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===== MEJORAS FINALES ===== */
/* Mejorar contraste en modo oscuro del sistema */
@media (prefers-color-scheme: dark) {
  .slide-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
}

/* Optimización para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
  .dropzone-banner:hover,
  .dropzone-logo:hover {
    transform: none;
  }

  .btn-next:hover,
  .btn-prev:hover,
  .btn-primary:hover {
    transform: none;
  }
}
/* Añadir esto a create-store.css si no está ya */
.summary-header p {
  font-size: 1rem; /* Ajusta el tamaño según tu diseño */
  color: rgba(255, 255, 255, 0.9); /* Un color que contraste con el fondo azul */
  margin-top: 0.5rem;
  font-weight: 400;
}