﻿.thehub-container {
  background-image: url("https://cdn.shopify.com/s/files/1/0672/2597/7069/files/FONDO-PUNTOS_2.png?v=1753373538");
  background-size: cover;
  background-position: center;
  padding: 40px;
  min-height: 100vh;
  color: white;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thehub-question {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thehub-question h2 {
  font-size: 43px;
  font-family: inherit;
  font-weight: 900;
  text-align: center;
  margin-bottom: 2rem;
  color: white;
}

.thehub-question h2 strong {
  color: #c1ff02;
}

.thehub-sport-grid {
  display: grid;
  grid-template-columns: repeat(2, 150px);
  gap: 20px;
  justify-content: center;
  margin-bottom: 2rem;
}

.thehub-sport-btn {
  background-color: #333;
  color: white;
  border: none;
  padding: 15px 20px;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.thehub-sport-btn:hover,
.thehub-sport-btn.selected {
  background-color: #c1ff02;
  color: #000;
}

.thehub-select-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 2rem;
}

.thehub-next-btn {
  background: none;
  border: none;
  color: #c1ff02;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  border-bottom: 2px solid #c1ff02;
  padding: 10px;
  transition: opacity 0.2s;
}

.thehub-next-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.thehub-question {
  margin-bottom: 20px;
}

.thehub-btn {
  background: none;
  border: none;
  text-transform: uppercase;
  color: #c1ff02;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  border-bottom: 2px solid #c1ff02;
  padding: 10px;
  transition: opacity 0.2s;
}

.thehub-back {
  background: none;
  text-transform: uppercase;
  border: none;
  color: #c1ff02;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  border-bottom: 2px solid #c1ff02;
  padding: 10px;
  transition: opacity 0.2s;
}

.thehub-select,
.thehub-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 10px;
}

.thehub-recommendation {
  background: transparent;
  border-left: 4px solid rgba(227, 227, 227, 1);
  padding: 10px 15px;
  margin: 12px 0;
  border-radius: 4px;
}

.thehub-time-slider {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  margin: 1rem 0;
}

.thehub-time-display {
  font-size: 42px;
  font-weight: bold;
  margin-top: 0.5rem;
}

.thehub-slider {
  width: 100%;
  max-width: 90%;
  height: 5px;
  accent-color: #c1ff02;
  border-radius: 4px;
  background: #dce3ea;
}

.thehub-slider::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #5c6ac4;
  cursor: pointer;
  margin-top: -4px;
}

.thehub-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #5c6ac4;
  cursor: pointer;
}

.thehub-multitime-container {
  width: 100%;
  max-width: 500px;
  margin: 1rem 0;
}

.thehub-multitime-component {
  background: rgba(51, 51, 51, 0.7);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  width: 100%;
}

.thehub-multitime-component label {
  color: #c1ff02;
  font-weight: bold;
  margin-bottom: 1rem;
  display: block;
  font-size: 1.1rem;
}

.thehub-multitime-input {
  width: 100%;
  max-width: 90%;
  height: 5px;
  accent-color: #c1ff02;
  border-radius: 4px;
  background: #dce3ea;
  margin: 1rem 0;
}

.thehub-multitime-input::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #5c6ac4;
  cursor: pointer;
  margin-top: -4px;
}

.thehub-multitime-input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #5c6ac4;
  cursor: pointer;
}

.thehub-multitime-display {
  font-size: 18px;
  font-weight: bold;
}

.thehub-multitime-slider {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.thehub-total-time {
  text-align: center;
  font-size: 24px;
}

.thehub-total-time strong {
  color: #c1ff02;
  margin-right: 0.5rem;
}

.thehub-total-time span {
  font-weight: bold;
  font-size: 24px;
}

.thehub-recommendations-container {
  max-width: 1200px;
  padding: 20px;
  display: flex;
  column-gap: 20px;
}

.thehub-recommendation-category {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  width: 100%;
}

.thehub-category-title {
  color: #c1ff02;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.thehub-category-total {
  color: #fff;
  opacity: 0.8;
  margin-bottom: 20px;
}
.thehub-category-total p {
  margin: 0;
}
.thehub-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.thehub-product-card {
  background: rgba(51, 51, 51, 0.7);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.thehub-product-card:hover {
  transform: translateY(-5px);
}

.thehub-product-image {
  height: 300px;
  overflow: hidden;
}

.thehub-product-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.thehub-product-info {
  padding: 15px;
}

.thehub-product-title {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.thehub-product-quantity {
  color: #c1ff02;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.thehub-product-actions {
  display: flex;
  gap: 10px;
}

.thehub-product-link,
.thehub-add-to-cart,
.thehub-add-all-to-cart {
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thehub-product-link {
  background: transparent;
  border: 1px solid #c1ff02;
  color: #c1ff02;
  text-decoration: none;
}

.thehub-product-link:hover {
  background: rgba(193, 255, 2, 0.1);
}

.thehub-add-to-cart,
.thehub-add-all-to-cart {
  background: #c1ff02;
  color: #000;
  border: none;
  font-weight: bold;
}

.thehub-add-to-cart:hover,
.thehub-add-all-to-cart:hover {
  background: #e8ff8a;
}

.thehub-add-all-to-cart {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 15px;
}

.thehub-cart-feedback {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #c1ff02;
  color: #000;
  padding: 10px 20px;
  border-radius: 4px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- FORMULARIOS DINÁMICOS --- */
.thehub-form {
  background: rgba(51, 51, 51, 0.7);
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  margin: 2rem auto;
  color: #000000;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.thehub-form h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 1rem;
  text-align: center;
  color: #fff;
}

.thehub-form h2 strong {
  color: #c1ff02;
}

.thehub-form label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  display: block;
  color: #c1ff02;
}

.thehub-input,
.thehub-form select,
.thehub-form input[type="text"],
.thehub-form input[type="email"],
.thehub-form input[type="date"] {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-top: 5px;
  font-size: 1rem;
  background: #fff;
  color: #000;
  outline: none;
  transition: border-color 0.2s;
}

.thehub-input:focus {
  border-color: #c1ff02;
}

.thehub-form input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #c1ff02;
}

.thehub-suggestions {
  list-style: none;
  margin: 5px 0 0 0;
  padding: 0;
  background: #fff;
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  z-index: 1000;
  position: absolute;
}
.vendor-category-block h3 {
  text-align: center;
}
.thehub-suggestion-item {
  padding: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #000;
}

.thehub-suggestion-item:hover {
  background: #c1ff02;
  color: #000;
}

.thehub-navigation-buttons {
  display: flex;
  justify-content: space-between;
  width: 20%;
  margin-top: 1.5rem;
}

.thehub-btn,
.thehub-back {
  background: none;
  border: none;
  text-transform: uppercase;
  color: #c1ff02;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  border-bottom: 2px solid #c1ff02;
  padding: 10px;
  transition: opacity 0.2s;
}

.thehub-btn:hover,
.thehub-back:hover {
  opacity: 0.8;
}

.thehub-suggestion-wrapper {
  position: relative;
  width: 100%;
}

.thehub-phone-wrapper {
  display: flex;
  column-gap: 20px;
}

.thehub-phone-prefix {
  width: 20% !important;
}

.thehub-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.thehub-grid-row {
  display: contents; /* permite que los hijos respeten el grid */
}
.thehub-grid-col {
  display: flex;
  flex-direction: column;
}
/* Checkbox bonito */
.thehub-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  position: relative;
  padding-left: 28px;
  user-select: none;
}

.thehub-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.thehub-checkbox .checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 18px;
  background-color: #f0f0f0;
  border-radius: 4px;
  border: 2px solid #ccc;
  transition: all 0.3s ease;
}

.thehub-checkbox input:checked ~ .checkmark {
  background-color: #a9ff3c;
  border-color: #a9ff3c;
}

.thehub-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.thehub-checkbox input:checked ~ .checkmark::after {
  display: block;
}

.thehub-checkbox .checkmark::after {
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#sticky-add-selected {
  position: sticky;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 50;
}

@media only screen and (max-width: 768px) {
  .thehub-navigation-buttons {
    width: 100%;
    padding: 0 15px;
  }
  .thehub-sport-btn {
    font-size: 12px;
  }
  .thehub-question h2 {
    font-size: 32px;
  }
  .thehub-container {
    padding: 10px !important;
    min-height: 80vh;
  }
  .thehub-sport-grid {
    grid-template-columns: repeat(2, 180px);
    gap: 15px;
  }

  .thehub-recommendations-container {
    max-width: 100%;
    display: flex;
    padding: 10px;
    column-gap: 20px;
    flex-direction: column;
  }
  .thehub-recommendation-category {
    padding: 10px;
  }
  .thehub-product-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
  }
  .thehub-product-quantity {
    font-size: 11px;
    margin-bottom: 5px;
  }
  .thehub-product-title {
    font-size: 14px;
  }
  .thehub-product-info {
    padding: 10px;
  }
  .thehub-products-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
  .thehub-product-link,
  .thehub-add-to-cart,
  .thehub-add-all-to-cart {
    font-size: 12px;
    text-align: center;
  }
  .thehub-product-image {
    height: 200px;
    overflow: hidden;
  }
  .progress-bar {
  width: 90% !important;
}
}

.thehub-product-card {
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.thehub-product-card.selected {
  border-color: #a9ff3c; /* azul elegante */
  background: #0000;
  box-shadow: 0 0 0 2px #a9ff3c33;
}

/* Overlay del check arriba a la derecha */
.thehub-product-card.selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  background: #1a1a1a;
  color: #a9ff3c;
  font-weight: bold;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* El checkbox solo en mobile */
.thehub-product-select {
  display: none !important;
}
.thehub-time-scroll {
  display: flex;
  justify-content: center;
  gap: 30px;
  width: 40%;
  height: 230px;
  overflow: hidden;
  margin: 1rem 0;
  position: relative;
}

/* Marca la zona central */
.thehub-time-scroll::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 55px;
  margin-top: -10px;
  border-top: 2px solid #c1ff02;
  border-bottom: 2px solid #c1ff02;
  pointer-events: none;
}

.scroll-column-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.scroll-column-wrapper .scroll-column {
  width: 100%;
}

.thehub-time-scroll-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c1ff02;
}
.scroll-column {
  flex: 1;
  max-height: 230px;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 30%,
    black 70%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    black 30%,
    black 70%,
    transparent
  );
}
.scroll-column::-webkit-scrollbar {
  display: none;
}

.scroll-item {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  scroll-snap-align: center;
  opacity: 0.3;
  transition: all 0.2s ease;
  filter: blur(1px);
}
.scroll-item.active {
  opacity: 1;
  color: #c1ff02;
  transform: scale(1.2);
  filter: none;
}
.progress-bar {
  position: relative;
  height: 8px;
  width: 45%;
  background: #222;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 50px;
}
.progress-fill {
  height: 100%;
  background: #c1ff02;
  transition: width 0.35s ease;
}
.progress-percent {
  font-size: 12px;
  color: #c1ff02;
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
}
/* Mobile Form Wizard - Corregido y Simplificado */
@media only screen and (max-width: 768px) {
  .thehub-form-wizard {
    position: relative;
    background: rgba(51, 51, 51, 0.9);
    border-radius: 12px;
    margin: 2rem auto;
    width: 100%;
    max-width: 600px;
    min-height: 500px;
    color: #fff;
    font-family: inherit;
    padding: 20px;
    overflow: hidden;
  }

  .thehub-form-wizard h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #fff;
  }

  .thehub-form-wizard h2 strong {
    color: #c1ff02;
  }

  /* Wizard container */
  .wizard-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  /* Header with back button and step counter */
  .wizard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }

  .wizard-back-btn {
    background: rgba(193, 255, 2, 0.2);
    border: none;
    color: #c1ff02;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .wizard-back-btn:hover {
    background: rgba(193, 255, 2, 0.4);
  }

  .wizard-step-counter {
    color: #c1ff02;
    font-size: 0.9rem;
    font-weight: bold;
  }

  /* Content area */
  .wizard-content {
    flex: 1;
    min-height: 300px;
    position: relative;
  }

  /* Steps wrapper */
  .wizard-steps {
    height: 100%;
    position: relative;
  }

  /* Individual step */
  .wizard-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
  }

  .wizard-step[style*="display: block"] {
    display: block !important;
  }

  /* Fields container */
  .wizard-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
  }

  /* Field styling */
  .wizard-field {
    opacity: 0;
    animation: slideInUp 0.5s ease-out forwards;
  }

  .wizard-field:nth-child(1) {
    animation-delay: 0.1s;
  }

  .wizard-field:nth-child(2) {
    animation-delay: 0.2s;
  }

  .wizard-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #c1ff02;
    font-size: 0.95rem;
  }

  /* Checkbox label styling */
  .wizard-checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
  }

  .wizard-checkbox-label input[type="checkbox"] {
    margin: 0;
    margin-top: 2px;
    accent-color: #c1ff02;
  }

  .wizard-checkbox-label span {
    flex: 1;
    font-weight: normal;
    line-height: 1.4;
  }

  /* Input styling */
  .wizard-input,
  .wizard-field input,
  .wizard-field select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #ddd;
    font-size: 1rem;
    background: #fff;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }

  .wizard-input:focus,
  .wizard-field input:focus,
  .wizard-field select:focus {
    border-color: #c1ff02;
    box-shadow: 0 0 0 3px rgba(193, 255, 2, 0.1);
  }

  .wizard-field.error .wizard-input,
  .wizard-field.error input,
  .wizard-field.error select {
    border-color: #ff4444;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
  }

  /* Phone field wrapper */
  .wizard-phone-wrapper {
    display: flex;
    gap: 10px;
  }

  .wizard-phone-prefix {
    width: 20% !important;
    flex-shrink: 0;
  }

  .wizard-phone-number {
    flex: 1;
  }

  /* City wrapper */
  .wizard-city-wrapper {
    position: relative;
  }

  /* Navigation area */
  .wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
  }

  .wizard-nav-btn {
    background: rgba(193, 255, 2, 0.9);
    border: none;
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    max-width: 54px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
  }
  .wizard-nav-btn svg {
    width: 24px;
    height: 24px;
    fill: #000000;
  }
  .wizard-nav-btn:hover {
    background: #c1ff02;
    transform: translateY(-2px);
  }

  .wizard-nav-btn:disabled {
    background: rgba(128, 128, 128, 0.3);
    color: #888;
    cursor: not-allowed;
    transform: none;
  }

  /* Progress indicators */
  .wizard-indicators {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .wizard-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .wizard-dot.active {
    background-color: #c1ff02;
    width: 14px;
    height: 14px;
    box-shadow: 0 0 10px rgba(193, 255, 2, 0.5);
  }

  .wizard-dot:hover {
    background-color: rgba(193, 255, 2, 0.6);
    transform: scale(1.2);
  }

  /* Submit button */
  .wizard-submit {
    width: 100%;
    padding: 15px;
    background: #c1ff02;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
  }

  .wizard-submit:hover {
    background: #e8ff8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193, 255, 2, 0.3);
  }

  .wizard-submit:disabled {
    background: #666;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }

  /* City autocomplete suggestions */
  .wizard-suggestions {
    list-style: none;
    margin: 5px 0 0 0;
    padding: 0;
    background: #fff;
    border-radius: 8px;
    max-height: 150px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .wizard-suggestion-item {
    padding: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
  }

  .wizard-suggestion-item:hover {
    background: #c1ff02;
    color: #000;
  }

  .wizard-suggestion-item:last-child {
    border-bottom: none;
  }

  /* Hide regular form navigation in wizard mode */
  .thehub-form-wizard + .thehub-navigation-buttons {
    display: none !important;
  }

  /* Error state animations */
  .wizard-field.error {
    animation: shake 0.5s ease-in-out;
  }

  /* Animations */
  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes shake {
    0%, 100% {
      transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
      transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
      transform: translateX(5px);
    }
  }

  /* Responsive adjustments */
  @media only screen and (max-width: 480px) {
    .thehub-form-wizard {
      margin: 1rem;
      padding: 15px;
    }

    .wizard-navigation {
      flex-direction: row;
      gap: 1rem;
    }

    .wizard-nav-btn {
      width: 100%;
    }

  }

  /* Ensure form fields are properly spaced */
  .wizard-field + .wizard-field {
    margin-top: 0;
  }

  /* Prevent text selection on navigation elements */
  .wizard-nav-btn,
  .wizard-dot,
  .wizard-back-btn {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }

  /* Loading states */
  .wizard-submit.loading {
    position: relative;
    color: transparent;
  }

  .wizard-submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #666;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
  }
}


.thehub-toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  width: min(90vw, 360px);
  pointer-events: none;
}

.thehub-toast {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
}

.thehub-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.thehub-toast--error {
  background: #ff4d4f;
  color: #fff;
}

.thehub-toast--success {
  background: #3ba776;
  color: #fff;
}

.thehub-toast--info {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
}

@media (max-width: 768px) {
  .thehub-toast-container {
    top: 12px;
    gap: 8px;
    width: 92vw;
  }

  .thehub-toast {
    font-size: 13px;
    padding: 10px 14px;
  }
}