.fullscreen-loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.fullscreen-loader.show {
  display: flex;
}

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

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #0063fd;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 30px;
}

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

.loader-message {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  min-height: 30px;
}

.loader-submessage {
  font-size: 14px;
  opacity: 0.8;
  min-height: 20px;
}

.form-registro {
  font-family: "Jost", Arial, sans-serif;
}

.form-registro .form-container {
  padding: 0px 30px 30px 30px;
  border-radius: 8px;
  width: 100%;
}

.form-registro .form-group {
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
}

.form-registro .form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-registro .form-field.full-width {
  flex: 0 0 100%;
}

.form-registro .form-field label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.form-registro .required::after {
  content: " *";
  color: red;
}

.form-registro .form-field input[type="text"],
.form-registro .form-field input[type="email"] {
  padding: 10px;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  background-color: #f9f9f9;
  color: #4f4f4f;
}

.form-registro .btn-submit {
  background-color: #0063fd !important;
  color: white !important;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  width: 100%;
  margin-top: 10px;
  text-transform: math-auto;
}

.form-registro .btn-submit:hover {
  background-color: #0056b3 !important;
}

/* --- Estilos para simular iconos (No responsivos) --- */
.form-registro .input-wrapper {
  position: relative;
}

.form-registro .input-wrapper input {
  padding-right: 50px;
}

.form-registro .input-icons {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  color: #aaa;
  pointer-events: none;
}

.form-registro .input-icons span {
  margin-left: 5px;
  font-size: 14px;
}

/* Ocultar iconos donde no aplican (Cédula, Teléfono, Correo) */
.form-registro .cedula .input-icons,
.form-registro .telefono .input-icons,
.form-registro .correo .input-icons {
  display: none;
}

/* Estilos para campos con select + input */
.form-registro .input-combo {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.form-registro .input-combo select {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
  background-color: #f9f9f9;
  color: #4f4f4f;
  cursor: pointer;
  min-width: 80px;
}

.form-registro .input-combo select:focus {
  outline: none;
  border-color: #0063fd;
}

.form-registro .input-combo input {
  flex: 1;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
  background-color: #f9f9f9;
  color: #4f4f4f;
}

.form-registro .input-combo input:focus {
  outline: none;
  border-color: #0063fd;
}

.form-registro .input-combo .select-nacionalidad {
  min-width: 70px;
  max-width: 70px;
}

.form-registro .input-combo .select-operador {
  min-width: 90px;
  max-width: 90px;
}

.form-registro .field-hint {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
}

/* Estilos para campo de email solo lectura (usuario logueado) */
.form-registro .email-readonly {
  background-color: #e9ecef;
  border: 1px solid #ccc;
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 14px;
  color: #4f4f4f;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-registro .email-readonly .email-icon {
  color: #0063fd;
  font-size: 20px;
}

.form-registro .email-readonly .email-text {
  flex: 1;
  font-weight: 500;
}

.form-registro .email-readonly .email-verified {
  color: #4caf50;
  font-size: 16px;
  font-weight: bold;
}

.form-registro .logged-user-notice {
  background-color: #e6effd;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-registro .logged-user-notice .notice-icon {
  color: #0063fd;
  font-size: 24px;
}

.form-registro .logged-user-notice .notice-text {
  flex: 1;
}

.form-registro .logged-user-notice .notice-text strong {
  color: #002052;
}

.form-registro .logged-user-notice .notice-text p {
  margin: 0;
  font-size: 14px;
  color: #4f4f4f;
}

/* Estilo para el mensaje de API */
.form-registro #api-message {
  margin-bottom: 15px;
  font-weight: bold;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

/* Estilos para el resumen de TechnoBits */
.form-registro .points-summary {
  display: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px;
  border-radius: 12px;
  margin-top: 20px;
}

.form-registro .points-summary.show {
  display: block;
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-registro .points-summary h3 {
  margin: 0 0 20px 0;
  font-size: 24px;
  text-align: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

.form-registro .points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.form-registro .point-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.form-registro .point-item label {
  display: block;
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-registro .point-item .value {
  font-size: 24px;
  font-weight: bold;
  display: block;
}

.form-registro .next-level {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
}

.form-registro .next-level h4 {
  margin: 0 0 15px 0;
  font-size: 18px;
  text-align: center;
}

.form-registro .next-level-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}

.form-registro .next-level-info .info-item {
  text-align: center;
}

.form-registro .next-level-info .info-item span {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  margin-bottom: 3px;
}

.form-registro .next-level-info .info-item strong {
  font-size: 18px;
}

/* ========================================================= */
/* === SISTEMA DE NOTIFICACIONES PERSONALIZADO === */
/* ========================================================= */
.custom-notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(19, 40, 99, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-notification-overlay.show {
  opacity: 1;
  visibility: visible;
}

.custom-notification {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  max-width: 450px;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
}

.custom-notification-overlay.show .custom-notification {
  transform: scale(1);
}

.custom-notification-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.custom-notification-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.custom-notification-icon.success {
  background: #d4e5ff;
  color: #132863;
}

.custom-notification-icon.error {
  background: #ffe5e5;
  color: #d32f2f;
}

.custom-notification-icon.warning {
  background: #fff4e5;
  color: #f57c00;
}

.custom-notification-icon.info {
  background: #d4e5ff;
  color: #1c61e7;
}

.custom-notification-title {
  font-size: 20px;
  font-weight: 700;
  color: #132863;
  margin: 0;
}

.custom-notification-body {
  color: #132863;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.custom-notification-details {
  background: #d4e5ff;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  color: #002052;
  font-size: 14px;
  line-height: 1.8;
}

.custom-notification-details strong {
  color: #132863;
  font-weight: 600;
}

.custom-notification-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.custom-notification-btn {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-notification-btn.primary {
  background: #1c61e7;
  color: #fff;
}

.custom-notification-btn.primary:hover {
  background: #132863;
  transform: translateY(-2px);
}

.custom-notification-btn.secondary {
  background: #d4e5ff;
  color: #132863;
}

.custom-notification-btn.secondary:hover {
  background: #c0d6f5;
}

@media (max-width: 550px) {
  .custom-notification {
    padding: 20px;
    max-width: 95%;
  }

  .custom-notification-header {
    gap: 10px;
  }

  .custom-notification-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .custom-notification-title {
    font-size: 18px;
  }

  .custom-notification-body {
    font-size: 14px;
  }

  .custom-notification-actions {
    flex-direction: column;
  }

  .custom-notification-btn {
    width: 100%;
  }
}

/* ========================================================= */
/* === MEDIA QUERY para hacer el formulario RESPONSIVO === */
/* ========================================================= */
@media (max-width: 550px) {
  .form-registro .form-container {
    padding: 0px 15px 15px 15; /* Menos padding en pantallas pequeÃ±as */
  }

  .form-registro .form-group {
    flex-direction: column;
    gap: 0;
  }

  .form-registro .form-field {
    flex: none;
    width: 100%;
    margin-bottom: 15px;
  }

  .form-registro .form-field.full-width {
    flex: none;
    width: 100%;
  }

  .form-registro .btn-submit {
    font-size: 16px;
    padding: 10px;
  }

  .form-registro .points-grid {
    grid-template-columns: 1fr;
  }

  .form-registro .points-summary h3 {
    font-size: 20px;
  }

  .form-registro .point-item .value {
    font-size: 20px;
  }
}

/* Material Design Icons styling */
.material-symbols-rounded {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  vertical-align: middle;
}

/* Loader de pantalla completa para Mis TechnoBits */
.fullscreen-loader-TechnoBits {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.fullscreen-loader-TechnoBits.show {
  display: flex;
}

.fullscreen-loader-TechnoBits .loader-content {
  text-align: center;
  color: white;
}

.fullscreen-loader-TechnoBits .loader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #0063fd;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 30px;
}

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

/* TechnoBits Shortcode */
.fullscreen-loader-TechnoBits .loader-message {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  min-height: 30px;
}

.fullscreen-loader-TechnoBits .loader-submessage {
  font-size: 14px;
  opacity: 0.8;
  min-height: 20px;
}

.TechnoBits-cliente-container {
  font-family: "Jost", Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.TechnoBits-cliente-container .content-box {
  padding: 30px;
  border-radius: 8px;
}

.contenido {
  background: white;
  padding: 30px;
  border-radius: 8px;
}

.TechnoBits-cliente-container .loading {
  display: none;
}

.TechnoBits-cliente-container .error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin: 20px 0;
  display: none;
}

.TechnoBits-cliente-container .points-dashboard {
  display: none;
}

.TechnoBits-cliente-container .points-dashboard.show {
  display: block;
  animation: fadeIn 0.5s ease-in;
}

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

/* Titulo principal */
.TechnoBits-cliente-container .main-title {
  font-size: 26px;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0 0 6px 0;
}

.TechnoBits-cliente-container .subtitle {
  font-size: 14px;
  color: #002052;
  margin: 0 0 25px 0;
}

/* Sección superior: nivel y objetivo */
.TechnoBits-cliente-container .top-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.TechnoBits-cliente-container .left-info {
  flex: 1;
}

.TechnoBits-cliente-container .current-level-label {
  font-size: 13px;
  color: #002052;
  margin-bottom: 5px;
}

.TechnoBits-cliente-container .current-level-value {
  font-size: 16px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.TechnoBits-cliente-container .accumulated-label {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 8px;
}

.TechnoBits-cliente-container .accumulated-value {
  display: flex;
  align-items: center;
  gap: 10px;
}

.TechnoBits-cliente-container .accumulated-value .number {
  font-size: 56px;
  font-weight: bold;
  color: #0063fd;
  line-height: 1;
}

.TechnoBits-cliente-container .accumulated-value .badge {
  width: 36px;
  height: 36px;
  background-color: #0063fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: -2px;
  border: 2px solid #002052;
}

.orders-footer-summary .badge {
  width: 20px;
  height: 20px;
  background-color: #0063fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: -2px;
  border: 2px solid #002052;
}

.TechnoBits-popup {
  display: flex;
  gap: 5px;
}

.TechnoBits-cliente-container .right-info {
  text-align: right;
}

.right-info img {
  max-width: 60px !important;
}

.TechnoBits-cliente-container .next-objective-label {
  font-size: 13px;
  color: #002052;
  margin-bottom: 5px;
  font-weight: 600;
}

.TechnoBits-cliente-container .next-objective-value {
  font-size: 13px;
  color: #002052;
  margin-bottom: 10px;
}

.TechnoBits-cliente-container .objective-badge {
  color: #002052;
  font-weight: 600;
  text-align: right;
  margin-bottom: 10px;
}

.TechnoBits-cliente-container .objective-badge .icon {
  width: 26px;
  height: 26px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Barra de progreso */
.TechnoBits-cliente-container .progress-section {
  margin-bottom: 15px;
}

.TechnoBits-cliente-container .progress-bar-container {
  width: 100%;
  height: 18px;
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: visible;
  position: relative;
  margin-bottom: 12px;
}

.TechnoBits-cliente-container .progress-bar-available {
  height: 18px;
  background-color: #4caf50;
  border-radius: 10px 0 0 10px;
  position: absolute;
  left: 0;
  top: 0;
  transition: width 1s ease-out;
  z-index: 2;
}

.TechnoBits-cliente-container .progress-bar-pending {
  height: 18px;
  background-color: #ff5400;
  border-radius: 10px;
  position: absolute;
  left: 0;
  top: 0;
  transition: width 1s ease-out;
  z-index: 1;
}

/* Detalles de TechnoBits */
.TechnoBits-cliente-container .points-details {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 13px;
}

.TechnoBits-cliente-container .point-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #c4f5d2;
  padding: 8px 14px;
  border-radius: 20px;
  color: #002052;
}

.TechnoBits-cliente-container .point-detail .icon-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  flex-shrink: 0;
}

.point-detail-popup {
  display: flex;
  align-items: center;
  gap: 6px;
}

.TechnoBits-cliente-container .point-detail.canjeables .icon-check {
  background-color: #4caf50;
  color: white;
}

.TechnoBits-cliente-container .point-detail.pendientes .icon-check {
  background-color: #ff9800;
  color: white;
}

.point-detail.pendientes {
  background: #ffd4bf !important;
  color: #002052;
}

.TechnoBits-cliente-container .point-detail .info-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #999;
  cursor: help;
  margin-left: 4px;
}

/* Tooltip */
.TechnoBits-cliente-container .tooltip {
  position: relative;
  display: inline-block;
}

.TechnoBits-cliente-container .tooltip .tooltiptext {
  visibility: hidden;
  width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -125px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
  line-height: 1.4;
}

.TechnoBits-cliente-container .tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Historial tipo cards */
.TechnoBits-cliente-container .history-section {
  margin-top: 40px;
}

.TechnoBits-cliente-container .history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.TechnoBits-cliente-container .history-tabs {
  display: flex;
  gap: 20px;
}

.TechnoBits-cliente-container .history-tab {
  font-size: 16px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  padding-bottom: 8px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.TechnoBits-cliente-container .history-tab.active {
  color: #0063fd;
  border-bottom-color: #0063fd;
}

.TechnoBits-cliente-container .filter-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  display: none !important;
}

.TechnoBits-cliente-container .history-list-header {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 15px;
  padding: 15px 20px;
  background-color: #d4e5ff;
  border-radius: 8px 8px 0px 0px;
  margin-bottom: 0px;
  font-size: 13px;
  font-weight: 600;
  color: #0063fd;
  height: 86px;
}

.TechnoBits-cliente-container .history-list-header .header-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #002052;
  font-weight: 600;
  font-size: 18px;
}

.TechnoBits-cliente-container .history-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.TechnoBits-cliente-container .history-card {
  background-color: #f1f1f1;
}

.TechnoBits-cliente-container .history-card {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 15px;
  padding: 18px 20px;
  background-color: white;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
  cursor: pointer;
}

.TechnoBits-cliente-container .history-item {
  display: block;
}

.TechnoBits-cliente-container .history-card .history-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f2f6ff;
  color: #002052;
  transition: transform 0.2s ease;
  margin-left: 10px;
  flex-shrink: 0;
}

.TechnoBits-cliente-container
  .history-item.expanded
  .history-card
  .history-chevron {
  transform: rotate(180deg);
}

.TechnoBits-cliente-container .history-details {
  display: none;
  background: #f8f9fa;
  border-bottom: 1px solid #f0f0f0;
  padding: 18px 20px;
}

.TechnoBits-cliente-container .history-item.expanded .history-details {
  display: block;
}

.TechnoBits-cliente-container .history-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.TechnoBits-cliente-container .history-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.TechnoBits-cliente-container .history-detail .label {
  font-size: 12px;
  color: #667085;
  font-weight: 600;
}

.TechnoBits-cliente-container .history-detail .value {
  font-size: 14px;
  color: #101828;
  font-weight: 600;
  word-break: break-word;
}

.TechnoBits-cliente-container .history-items-details {
  grid-column: 1 / -1;
  background: white;
  border-radius: 8px;
  padding: 12px 14px;
}

.TechnoBits-cliente-container .history-items-details ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.TechnoBits-cliente-container .history-items-details li {
  margin: 4px 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.35;
}

.TechnoBits-cliente-container .history-card:hover {
  background-color: #fafafa;
}

.TechnoBits-cliente-container .history-card.highlight {
  background-color: #fff9e6;
}

.TechnoBits-cliente-container .history-card.success {
  background-color: #e8f5e9;
}

.TechnoBits-cliente-container .card-field {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
}

.TechnoBits-cliente-container .card-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.TechnoBits-cliente-container .card-text {
  flex: 1;
}

.TechnoBits-cliente-container .card-label {
  font-size: 12px;
  color: #999;
  display: block;
  margin-bottom: 2px;
}

.TechnoBits-cliente-container .card-value {
  font-weight: 500;
  color: #333;
}

.TechnoBits-cliente-container .card-link {
  color: #0063fd;
  text-decoration: underline;
  cursor: pointer;
}

.TechnoBits-cliente-container .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.TechnoBits-cliente-container .status-completed {
  background-color: transparent;
  color: #4caf50;
}

.TechnoBits-cliente-container .status-pending {
  background-color: transparent;
  color: #ff9800;
}

.TechnoBits-cliente-container .status-canjeados {
  background-color: transparent;
  color: #4caf50;
}

.TechnoBits-cliente-container .status-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.TechnoBits-cliente-container .status-completed .status-icon {
  background-color: #4caf50;
  color: white;
}

.TechnoBits-cliente-container .status-pending .status-icon {
  background-color: #ff9800;
  color: white;
}

.TechnoBits-cliente-container .status-canjeados .status-icon {
  background-color: #4caf50;
  color: white;
}

.TechnoBits-cliente-container .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 15px 0;
}

.TechnoBits-cliente-container .pagination button {
  padding: 8px 16px;
  background-color: white;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.TechnoBits-cliente-container .pagination button:hover:not(:disabled) {
  background-color: #0063fd;
  color: white;
  border-color: #0063fd;
}

.TechnoBits-cliente-container .pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.TechnoBits-cliente-container .pagination .page-info {
  font-size: 13px;
  color: #666;
}

.TechnoBits-cliente-container .empty-history {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 14px;
  background-color: #fff;
  border-radius: 8px;
}

.TechnoBits-cliente-container .history-footer {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 13px;
  border-top: 1px solid #f0f0f0;
  margin-top: 10px;
}

/* Mensaje de invitación a registrarse */
.TechnoBits-cliente-container .invitation-box {
  display: none;
  color: white;
  border-radius: 12px;
  text-align: center;
}

.TechnoBits-cliente-container .invitation-box.show {
  display: block;
  animation: slideIn 0.5s ease-out;
}

.TechnoBits-cliente-container .invitation-box h2 {
  font-size: 28px;
  margin: 0 0 15px 0;
}

.TechnoBits-cliente-container .invitation-box p {
  font-size: 16px;
  margin: 0 0 25px 0;
  opacity: 0.9;
}

.TechnoBits-cliente-container .invitation-box .register-btn {
  display: inline-block;
  background-color: white;
  color: #667eea;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: transform 0.2s;
}

.TechnoBits-cliente-container .invitation-box .register-btn:hover {
  transform: scale(1.05);
}

/* Botón de Canjear TechnoBits */
.TechnoBits-cliente-container .redeem-button-container {
  text-align: center;
  margin-top: 30px;
  padding: 20px 0;
}

.TechnoBits-cliente-container .btn-redeem-points {
  background-color: #0063fd;
  color: white;
  padding: 15px 50px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: math-auto;
}

.TechnoBits-cliente-container .btn-redeem-points:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

/* Modal/Popup */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in;
}

.modal-overlay.show {
  display: flex;
}

.modal-overlay .modal-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease-out;
}

/* Ancho especifico de 452px para el primer modal en desktop/tablet */
#orders-modal .modal-content {
  max-width: 452px;
}

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

/* Estilos para modal-header (genérico) */
.modal-overlay .modal-header {
  color: white;
  padding: 25px 30px;
  border-radius: 12px 12px 0 0;
  position: relative;
}

.modal-overlay .modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

/* Estilos especificos para el primer modal (Pedidos) - Sin fondo */
#orders-modal .modal-header {
  background: transparent;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
}

#orders-modal .modal-header h2 {
  color: #333;
}

/* Botón de cerrar genérico */
.modal-overlay .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #242424;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  line-height: 1;
}

.modal-overlay .modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Botón de cerrar especifico para el primer modal - Fondo blanco, texto negro */
#orders-modal .modal-close {
  background: white;
  color: #000;
}

#orders-modal .modal-close:hover {
  background: #f5f5f5;
  border-color: #ccc;
  transform: rotate(90deg);
}

.modal-overlay .modal-body {
  padding: 25px;
  color: #333;
  text-align: left;
}

/* Estilos para el Modal de Pedidos */
.modal-overlay .orders-info-banner {
  background-color: #ffe8ad;
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 13px;
  color: #002052;
}

.orders-info-banner img {
  margin-right: 6px !important;
  max-width: 19px !important;
}

.custom-tooltip img {
  max-width: 19px !important;
}

.modal-overlay .orders-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

.modal-overlay .summary-label,
.modal-overlay .summary-total {
  color: #333;
}

.modal-overlay .orders-list-container {
  max-height: 350px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.modal-overlay .order-item-detailed {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all 0.2s;
  background-color: white;
  color: #333;
}

.modal-overlay .order-item-detailed:hover {
  background-color: #f8f9fa;
  border-color: #0063fd;
}

.modal-overlay .order-icon {
  width: 50px;
  height: 50px;
  background-color: #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 24px;
  color: #666;
}

.modal-overlay .order-details {
  flex: 1;
  color: #333;
}

.modal-overlay .order-store {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.modal-overlay .order-description {
  font-size: 14px;
  color: #333;
  margin-bottom: 3px;
}

.modal-overlay .order-date {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.modal-overlay .order-points-badge {
  display: inline-block;
  background-color: #e8f5e9;
  color: #4caf50;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  gap: 5px;
  font-size: 16px;
  font-weight: 600;
  color: #0063fd;
}

.modal-overlay .orders-footer-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #d4e5ff;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
}

.modal-overlay .points-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0063fd;
}

.modal-overlay .modal-footer {
  text-align: center;
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

.modal-overlay .btn-primary-modal {
  background-color: #0063fd;
  color: white;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  max-width: 300px;
}

.modal-overlay .btn-primary-modal:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

/* Estilos para el Modal de Opciones de Canje */
.modal-overlay .modal-header-simple {
  padding: 25px;
  padding-bottom: 0 !important;
  position: relative;
}

.modal-overlay .modal-header-simple h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #333;
  padding-right: 50px; /* Espacio para el botón de cerrar */
}

/* Botón de cerrar para modal-header-simple */
.modal-overlay .modal-header-simple .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f0f0f0;
  border: none;
  color: #333;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.modal-overlay .modal-header-simple .modal-close:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.modal-overlay .modal-subtitle {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin: 0 0 25px 0;
  text-align: left;
}

.modal-overlay .redeem-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.modal-overlay .redeem-option-box {
  background: white;
  border: 2px solid #0063fd;
  border-radius: 4px;
  padding: 25px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.redeem-option-box p {
  text-align: left;
}

.modal-overlay .redeem-option-box:hover {
  border-color: #0063fd;
  transform: translateY(-3px);
}

.modal-overlay .option-icon {
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #0063fd;
}

.modal-overlay .option-title {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  margin-bottom: 20px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  line-height: 1.2;
}

.modal-overlay .btn-option {
  background-color: #0063fd;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  text-transform: math-auto;
}

.modal-overlay .btn-option:hover {
  background-color: #0056b3;
}

.modal-overlay .btn-option-secondary {
  background-color: white;
  color: #0063fd;
  padding: 10px 20px;
  border: 2px solid #0063fd;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  text-transform: math-auto;
}

.modal-overlay .btn-option-secondary:hover {
  background-color: #0063fd;
  color: white;
}

/* Estilos para el Modal de Finalización de Canje */
.modal-overlay .redemption-loading {
  text-align: center;
  padding: 40px;
  color: #333;
}

.modal-overlay .spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0063fd;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

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

.modal-overlay .redemption-form {
  padding: 10px 0;
  color: #333;
}

.modal-overlay .info-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  display: none !important;
}

.modal-overlay .info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.modal-overlay .info-row:last-child {
  border-bottom: none;
}

.modal-overlay .info-label {
  font-size: 14px;
  color: #666;
}

.modal-overlay .info-value {
  font-size: 16px;
  font-weight: 600;
  color: #0063fd;
}

.modal-overlay .form-group {
  margin-bottom: 20px;
}

.valor-fijo,
.monto-original {
  display: none !important;
}

.modal-overlay .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.modal-overlay .points-select,
.modal-overlay .input-amount {
  width: 100%;
  padding: 8px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  color: #000;
  transition: all 0.3s;
}

.modal-overlay select,
.modal-overlay input[type="text"],
.modal-overlay input[type="number"],
.modal-overlay input[type="email"] {
  color: #000;
}

.modal-overlay .points-select:focus,
.modal-overlay .input-amount:focus {
  outline: none;
  border-color: #0063fd;
}

.modal-overlay .btn-simulate {
  width: 100%;
  background-color: #0063fd;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.modal-overlay .btn-simulate:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.modal-overlay {
  cursor: not-allowed;
  transform: none;
}

.modal-overlay .simulation-result {
  margin-top: 30px;
  padding: 25px;
  background: #d4e5ff;
  border-radius: 12px;
}

.modal-overlay .simulation-result h3 {
  color: #002052;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 18px;
  padding-left: 25px;
}

.modal-overlay .result-card {
  border-radius: 12px;
  padding: 25px;
  color: #002052;
  margin-bottom: 20px;
}

.modal-overlay .result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgb(0 32 82);
}

.modal-overlay .result-row:last-child {
  border-bottom: none;
}

.modal-overlay .result-label {
  font-size: 14px;
  opacity: 0.9;
}

.modal-overlay .result-value {
  font-size: 16px;
  font-weight: 600;
}

.modal-overlay .result-value.highlight {
  font-size: 24px;
  color: #002052;
}

.modal-overlay .btn-confirm-final {
  width: 100%;
  background-color: #28a745;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-overlay .btn-confirm-final:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

.modal-overlay .redemption-error {
  text-align: center;
  padding: 40px;
  color: #e74c3c;
}

@media (max-width: 768px) {
  .modal-overlay .redeem-options-grid {
    grid-template-columns: 1fr;
  }

  /* En móvil, el primer modal ocupa el 95% del ancho (no 452px) */
  #orders-modal .modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 95vh;
  }

  /* Ancho general para los demás modales en móvil */
  #redeem-options-modal .modal-content,
  #finalize-redemption-modal .modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 95vh;
  }

  .modal-overlay .modal-body {
    padding: 20px;
    text-align: left;
  }

  .TechnoBits-cliente-container .btn-redeem-points,
  .modal-overlay .btn-primary-modal {
    padding: 12px 30px;
    font-size: 14px;
  }

  .modal-overlay .orders-summary {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .modal-overlay .order-item-detailed {
    flex-direction: column;
  }

  .modal-overlay .order-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .modal-overlay .order-points-badge {
    margin-top: 10px;
  }

  .modal-overlay .modal-header h2,
  .modal-overlay .modal-header-simple h2 {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  .TechnoBits-cliente-container .objective-badge {
    color: #002052;
    font-weight: 600;
    text-align: left;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 490px) {
  .TechnoBits-cliente-container .history-list-header {
    gap: 10px;
    padding: 0px 0px;
    margin-bottom: 0px;
    font-size: 8px !important;
    font-weight: 600;
    color: #0063fd;
    height: 86px;
  }

  .TechnoBits-cliente-container .history-list-header .header-item {
    font-size: 12px;
    display: flex;
    gap: 8px;
    color: #002052;
    font-weight: 600;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .header-item .material-symbols-rounded {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .card-field-tienda {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .TechnoBits-cliente-container .content-box {
    padding: 0px;
  }

  .TechnoBits-cliente-container .top-section {
    flex-direction: column;
    gap: 20px;
  }

  .TechnoBits-cliente-container .right-info {
    text-align: left;
  }

  .TechnoBits-cliente-container .accumulated-value .number {
    font-size: 42px;
  }

  .TechnoBits-cliente-container .points-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .TechnoBits-cliente-container .history-table th,
  .TechnoBits-cliente-container .history-table td {
    padding: 8px 10px;
    font-size: 12px;
  }

  .TechnoBits-cliente-container .pagination {
    flex-wrap: wrap;
  }
}

/* Material Design Icons styling */
.material-symbols-rounded {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  vertical-align: middle;
}

.canje-checkout-widget {
  border-radius: 8px;
  margin: 30px 0;
}
.canje-checkout-widget h3 {
  margin-top: 0;
  color: #0063fd !important;
  font-size: 20px;
}
.canje-radio-group {
  margin: 15px 0;
  display: flex;
  gap: 10px;
}
.canje-radio-group label {
  display: flex;
  align-items: center;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 10px;
  gap: 10px;
}
.canje-radio-group input[type="radio"] {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.canje-points-section {
  display: none;
  margin-top: 15px;
  padding: 15px;
  background: #d4e5ff;
  border-radius: 6px;
}
.canje-points-section.active {
  display: block;
}
.canje-form-group {
  margin-bottom: 15px;
}
.canje-form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}
.canje-select {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
}
.canje-btn {
  background: #0b69fc;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}
.canje-btn:hover {
  background: #0b69fc;
  transform: translateY(-2px);
  color: white;
}
.canje-result {
  display: none;
  margin-top: 15px;
  padding: 15px;
  border-radius: 6px;
}
.canje-result.active {
  display: block;
}
.canje-result-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.canje-result-label {
  font-weight: 400;
  color: #666;
}
.canje-result-value {
  color: #667eea;
  font-weight: 700;
}
.canje-success-message {
  display: none;
  margin-top: 15px;
  padding: 15px;
  background: #c4f5d2;
  border-radius: 6px;
  color: #155724;
}
.canje-success-message.active {
  display: block;
}
.canje-loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.canje-info-box {
  background: #ffe8ad;
  padding: 12px;
  margin-top: 15px;
  border-radius: 4px;
  font-size: 13px;
  color: #002052;
}

/* Loader de pantalla completa para Recompensas */
.fullscreen-loader-rewards {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.fullscreen-loader-rewards.hide {
  display: none;
}

.fullscreen-loader-rewards .loader-content {
  text-align: center;
  color: white;
}

.fullscreen-loader-rewards .loader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #0063fd;
  border-radius: 50%;
  animation: spin-rewards 1s linear infinite;
  margin: 0 auto 30px;
}

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

.fullscreen-loader-rewards .loader-message {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  min-height: 30px;
}

.fullscreen-loader-rewards .loader-submessage {
  font-size: 14px;
  opacity: 0.8;
  min-height: 20px;
}

#rewards-error {
  display: none;
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 600px;
}

#rewards-error.show {
  display: block;
}

#rewards-content {
  display: none;
}

#rewards-content.show {
  display: block;
}

/* Estilos para la página de recompensas */
.rewards-page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  font-family:
    "Jost",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.rewards-page-header {
  text-align: left;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #002052;
}

.rewards-page-header h1 {
  font-size: 28px;
  color: #002052;
  margin: 10px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rewards-page-header p {
  color: #000;
  font-size: 16px;
  margin: 5px 0;
}

.user-info-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 15px;
}

.user-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #002052;
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 0;
}

.user-points-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d4e5ff;
  color: #002052;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.user-points-badge .material-symbols-rounded {
  color: #ffd700;
}

.btn-redeem.insufficient-points {
  background: #666666 !important;
  cursor: not-allowed;
  opacity: 0.8;
}

.btn-redeem.insufficient-points:hover {
  background: #666666 !important;
  transform: none !important;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-image {
  width: 100%;
  height: 200px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.product-image .no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #ccc;
}

.product-image .no-image .material-symbols-rounded {
  font-size: 80px;
}

.product-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  color: #002052;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.product-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 15px 0;
  flex: 1;
}

#rewards-content .product-category {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  color: #0063fd;
  margin-bottom: 15px;
  width: fit-content;
}

#rewards-content .product-category .material-symbols-rounded {
  font-size: 16px;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
  padding: 15px 0;
  border-top: 1px solid #f0f0f0;
}

.product-type,
.product-points,
.product-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.product-type .material-symbols-rounded {
  font-size: 20px;
  color: #666;
}

.product-points {
  color: #0063fd;
  font-weight: 600;
}

.product-points .material-symbols-rounded {
  font-size: 22px;
}

.product-stock {
  color: #4caf50;
}

.product-stock.out-of-stock {
  color: #f44336;
}

.product-stock .material-symbols-rounded {
  font-size: 20px;
}

.btn-redeem {
  width: 100%;
  padding: 14px 20px;
  background: #0063fd;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-redeem:hover:not(.disabled) {
  background: #0052d4;
  transform: translateY(-1px);
}

.btn-custom-link {
  width: 100%;
  padding: 5px 20px;
  background: linear-gradient(135deg, #002052 0%, #0041a8 100%);
  color: white;
  border: none;
  border-radius: 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  transition: color .8s linear, background .5s linear;
}

.btn-custom-link:hover {
  background: #0052d4;
  transform: translateY(-1px);
  color: white;
}

.btn-redeem.disabled {
  background: #666;
  cursor: not-allowed;
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .rewards-page-header h1 {
    font-size: 24px;
  }
}

/* Estilos para la página de recompensas */
.rewards-page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  font-family:
    "Jost",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.rewards-page-header {
  text-align: left;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.rewards-page-header h1 {
  font-size: 28px;
  color: #002052;
  margin: 10px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rewards-page-header p {
  color: #000;
  font-size: 16px;
  margin: 5px 0;
}

.user-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #002052;
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-image {
  width: 100%;
  height: 200px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.product-image .no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #ccc;
}

.product-image .no-image .material-symbols-rounded {
  font-size: 80px;
}

.product-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  color: #002052;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.product-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 15px 0;
  flex: 1;
}

#rewards-content .product-category {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid #0063fd;
  border-radius: 20px;
  font-size: 13px;
  color: #0063fd;
  margin-bottom: 15px;
  width: fit-content;
}

#rewards-content .product-category .material-symbols-rounded {
  font-size: 16px;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
  padding: 15px 0;
  border-top: 1px solid #f0f0f0;
}

.product-type,
.product-points,
.product-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.product-type .material-symbols-rounded {
  font-size: 20px;
  color: #666;
}

.product-points {
  color: #0063fd;
  font-weight: 600;
}

.product-points .material-symbols-rounded {
  font-size: 22px;
}

.product-stock {
  color: #4caf50;
}

.product-stock.out-of-stock {
  color: #f44336;
}

.product-stock .material-symbols-rounded {
  font-size: 20px;
}

.btn-redeem {
  width: 100%;
  padding: 14px 20px;
  background: #0063fd;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-redeem:hover:not(.disabled) {
  background: #0052d4;
  transform: translateY(-1px);
  color: white !important;
}

.btn-redeem.disabled {
  background: #666;
  cursor: not-allowed;
  opacity: 0.6;
  color: white !important;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .rewards-page-header h1 {
    font-size: 24px;
  }
}

/* Estilos del Modal de Canje */
.redeem-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.redeem-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.redeem-modal-content {
  background-color: white;
  margin: 20px;
  padding: 0;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

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

.redeem-modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 32px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s;
}

.redeem-modal-close:hover {
  color: #333;
}

.redeem-step {
  padding: 40px;
}

.redeem-header {
  text-align: center;
  margin-bottom: 30px;
}

.redeem-header h2 {
  color: #002052;
  margin: 15px 0 5px 0;
  font-size: 26px;
}

.redeem-header p {
  color: #666;
  margin: 5px 0;
}

.redeem-product-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.redeem-product-info h3 {
  color: #002052;
  margin: 0 0 20px 0;
  font-size: 20px;
}

.redeem-points-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.points-required,
.points-available {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: white;
  border-radius: 8px;
}

.points-required .material-symbols-rounded {
  font-size: 32px;
  color: #0063fd;
}

.points-available .material-symbols-rounded {
  font-size: 32px;
  color: #4caf50;
}

.points-required strong,
.points-available strong {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.points-required p,
.points-available p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #002052;
}

.redeem-message {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

.redeem-message.success {
  background: #e8f5e9;
  color: #2e7d32;
}

.redeem-message.error {
  background: #ffebee;
  color: #c62828;
}

.redeem-actions {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  margin-top: 30px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: #0063fd;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: #0052d4;
  transform: translateY(-1px);
  color: white !important;
}

.btn-primary:disabled {
  background: #ccc;
  color: #333333;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-secondary {
  background: #f5f5f5;
  color: #333;
}

.btn-secondary:hover {
  background: #e0e0e0;
}

/* Estilos Formulario Venezuela */
.venezuela-shipping-form {
  margin: 20px 0;
}

.shipping-wizard-step {
  display: none;
  width: 100%;
}

.shipping-wizard-step.active {
  display: flex;
}

.shipping-fields-wrapper {
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: flex-start;
}

.form-row {
  padding: 3px;
  margin: 0 0 16px;
  flex: 1 1 100%;
  min-width: 0;
}

.form-row-first {
  float: none;
  width: auto;
  margin-right: 0;
  flex: 1 1 calc(50% - 12px);
}

.form-row-last {
  float: none;
  width: auto;
  flex: 1 1 calc(50% - 12px);
}

.form-row-wide {
  width: auto;
  flex: 1 1 100%;
}

.form-row label {
  display: block;
  margin-bottom: 5px;
  color: #000;
  font-weight: 500;
  font-size: 14px;
}

.form-row label .required {
  color: #ff0000;
  text-decoration: none;
  border: 0;
}

.input-wrapper {
  display: block;
}

.form-row .input-text,
.form-row .input-select,
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.3s;
  box-sizing: border-box;
  color: #000;
  background-color: #fff;
  font-family: inherit;
}

.form-row .input-text:focus,
.form-row .input-select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #0063fd;
}

.form-row .input-text::placeholder,
.form-row textarea::placeholder {
  color: #666;
}

.form-row .input-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 35px;
  appearance: none;
}

.form-row .input-select:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
  opacity: 0.6;
}

.form-row .input-select option {
  color: #000;
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.delivery-notice {
  background: #e8f5e9;
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
  width: 100% !important;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.delivery-notice .material-symbols-rounded {
  font-size: 32px;
  color: #4caf50;
}

.delivery-notice p {
  margin: 0;
  color: #000;
  line-height: 1.5;
}

.delivery-notice strong {
  color: #2e7d32;
}

.form-row::after {
  content: "";
  display: table;
  clear: both;
}

.redeem-success-info {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  margin: 20px 0;
}

.redeem-success-info p {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
}

.order-info,
.points-info {
  padding: 12px;
  background: white;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-info strong,
.points-info strong {
  color: #666;
}

.order-info span,
.points-info span {
  color: #002052;
  font-weight: 600;
}

@media (max-width: 600px) {
  .redeem-points-info {
    grid-template-columns: 1fr;
  }

  .form-row-first,
  .form-row-last {
    flex: 1 1 100%;
  }

  .redeem-step {
    padding: 30px 20px;
  }

  .redeem-modal-content {
    margin: 10px;
  }
}

.rewards-container {
  font-family: "Jost", Arial, sans-serif;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.rewards-header {
  text-align: center;
  margin-bottom: 50px;
}

.rewards-header h1 {
  font-size: 36px;
  color: #002052;
  margin-bottom: 15px;
  font-weight: 600;
}

.rewards-header .user-level {
  display: inline-block;
  background: linear-gradient(135deg, #002052 0%, #0041a8 100%);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.rewards-header p {
  font-size: 16px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.material-symbols-rounded {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  vertical-align: middle;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #002052;
}

.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #fff;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 25px;
}

.product-title {
  font-size: 20px;
  font-weight: 600;
  color: #002052;
  margin-bottom: 12px;
  min-height: 50px;
  line-height: 1.3;
}

.product-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  min-height: 60px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.product-points {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: #002052;
}

.product-points .material-symbols-rounded {
  color: #ffd700;
  font-size: 28px;
}

.product-stock {
  font-size: 13px;
  color: #4caf50;
  font-weight: 500;
}

.product-stock.out-of-stock {
  color: #f44336;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.btn-redeem {
  flex: 1;
  background: linear-gradient(135deg, #002052 0%, #0041a8 100%);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-redeem:hover {
  transform: translateY(-2px);
}

.btn-redeem:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.btn-view-details {
  background: white;
  color: #002052;
  border: 2px solid #002052;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-view-details:hover {
  background: #002052;
  color: white;
}

.no-products {
  text-align: center;
  padding: 80px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-top: 40px;
}

.no-products .material-symbols-rounded {
  font-size: 80px;
  color: #002052;
  margin-bottom: 20px;
}

.no-products h3 {
  font-size: 24px;
  color: #002052;
  margin-bottom: 15px;
}

.no-products p {
  font-size: 16px;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

.rewards-login-required,
.rewards-not-member,
.rewards-error {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 600px;
}

.btn-login,
.btn-join {
  display: inline-block;
  background: #002052;
  color: white;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.3s;
}

.btn-login:hover,
.btn-join:hover {
  background: #0041a8;
  transform: translateY(-2px);
}

/* Estilos para paginación del catálogo */
.rewards-pagination {
  margin-top: 40px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.pagination-info {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.pagination-controls {
  display: flex !important;
  justify-content: center !important;
}

.pagination-btn {
  background-color: #f1f1f1;
  font-family: "Jost", Sans-serif;
  font-weight: 500;
  fill: #0063fd;
  color: #0063fd;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #0063fd;
  border-radius: 8px 8px 8px 8px;
}

.pagination-btn .material-symbols-rounded {
  font-size: 20px;
}

.pagination-numbers {
  display: flex;
  gap: 8px;
}

.pagination-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #002052;
  background: white;
  color: #002052;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.pagination-number:hover:not(.active) {
  background: #e3f2fd;
}

.pagination-number.active {
  background: #002052;
  color: white;
  cursor: default;
}

@media (max-width: 768px) {
  .pagination-controls {
    flex-direction: column;
    gap: 10px;
  }

  .pagination-btn {
    width: 100%;
    justify-content: center;
  }

  .pagination-numbers {
    order: -1;
    margin-bottom: 10px;
  }
}
