/* =================================== */
/* = MODAL DE REGISTRO = */
/* =================================== */

/* Overlay del modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* Contenedor del modal */
.modal-registro {
  background: white;
  border-radius: 0;
  padding: 0;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(0.7);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.modal-overlay.active .modal-registro {
  transform: scale(1);
}

/* Header del modal */
.modal-header {
  background: white;
  padding: 30px 30px 20px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  background: white;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.modal-title {
  color: #1f2937;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 10px;
  font-family: "Russo One", sans-serif;
}

.modal-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 300;
}

/* Contenido del modal */
.modal-content {
  padding: 30px;
  background: white;
}

.modal-benefits {
  margin-bottom: 25px;
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background: white;
  border-radius: 0;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: #1e3a8a;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: white;
  font-size: 1.2rem;
}

.benefit-text {
  flex: 1;
  color: #333;
  font-weight: 500;
}

.benefit-text strong {
  color: #1e3a8a;
}

/* Botones del modal */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.btn-registro {
  flex: 1;
  padding: 15px 25px;
  border: none;
  border-radius: 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

.btn-registro.primary {
  background: #1e3a8a;
  color: white;
  box-shadow: 0 2px 4px rgba(30, 58, 138, 0.2);
}

.btn-registro.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(30, 58, 138, 0.3);
}

.btn-registro.secondary {
  background: transparent;
  color: #1e3a8a;
  border: 2px solid #1e3a8a;
}

.btn-registro.secondary:hover {
  background: #1e3a8a;
  color: white;
  transform: translateY(-1px);
}

/* Botón de cerrar */
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(107, 114, 128, 0.1);
  border: none;
  border-radius: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 10000;
}

.modal-close:hover {
  background: rgba(107, 114, 128, 0.2);
  transform: rotate(90deg);
}

/* Contador de descuento */
.discount-counter {
  background: #1e3a8a;
  color: white;
  padding: 15px;
  border-radius: 0;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.discount-text {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.discount-subtext {
  font-size: 0.9rem;
  margin: 5px 0 0;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-registro {
    width: 95%;
    margin: 20px;
  }

  .modal-header {
    padding: 20px 20px 15px;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-subtitle {
    font-size: 1rem;
  }

  .modal-content {
    padding: 20px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .btn-registro {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .benefit-item {
    padding: 8px;
  }

  .benefit-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Efecto de pulso para llamar la atención - REMOVIDO */
/* @keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.modal-registro:hover {
  animation: pulse 2s infinite;
} */
