.alert-email {
    display: none;
    font-size: 13px;
    color: #fff;
    background: #e63946;
    padding: 6px 10px;
    margin-top: 0px;
    border-radius: 4px;
    animation: fadeIn 0.3s ease-in-out;
}

.alert-email.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos exclusivos para el modal de verificación */
.modal-verificacion .modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
}

.modal-verificacion-header {
    background-color: #E81163;
    color: white;
    border-bottom: none;
}

.modal-verificacion-titulo {
    font-size: 20px;
    font-weight: bold;
    color: white !important;
}

.modal-verificacion-body {
    background-color: #f8f8f8;
    padding: 20px;
}

.modal-verificacion-body p {
    color: white;
    background-color: #E81163;
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
}

.modal-verificacion-input {
    font-size: 20px;
    letter-spacing: 5px;
    border: 2px solid #E81163;
    border-radius: 6px;
}

.modal-reenviar {
    color: #E81163;
    font-weight: 600;
    font-size: 14px;
}

.btn-verificar {
    background-color: #E81163;
    border: none;
}

.btn-verificar:hover {
    background-color: #c10e53;
}

.code-input-container .code-input {
    width: 45px;
    height: 50px;
    text-align: center;
    font-size: 22px;
    border-radius: 12px;
    border: 2px solid #E81163;
    outline: none;
    color: #333;
    transition: all 0.2s ease;
}

.code-input:focus {
    border-color: #b50d4e;
    box-shadow: 0 0 5px rgba(232, 17, 99, 0.5);
}

.modal-codigo .modal-header {
    background-color: #E81163;
    color: white;
    border-radius: 10px 10px 0 0;
}

.modal-codigo .mensaje-codigo {
    color: #333;
    font-size: 15px;
    margin-bottom: 15px;
}

.codigo-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.codigo-input {
    width: 40px;
    height: 45px;
    font-size: 22px;
    text-align: center;
    border: 2px solid #E81163;
    border-radius: 8px;
    outline: none;
    transition: 0.2s;
}

.codigo-input:focus {
    box-shadow: 0 0 5px #E81163;
}



.reenviar-btn {
    color: #E81163;
    font-weight: bold;
    margin-top: 10px;
}

.contador-reenvio {
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

.modal-title {
    color: #fff;
}

.btn-verificar {
    background-color: #E81163;
    border: none;
}

.mensaje-error {
  color: #E81163;
  font-size: 0.8rem;
  display: none; /* Oculto por defecto */
  margin-top: 5px;
}

.checkbox-error {
  outline: 2px solid #E81163;
  outline-offset: 2px;
  border-radius: 4px;
}

.modal-terminos .modal-header {
  background-color: #E81163;
  color: white;
}

.modal-terminos .modal-body {
  max-height: 400px;
  overflow-y: auto;
  text-align: justify;
}

.modal-terminos h6 {
  color: #E81163;
  margin-top: 15px;
}

.custom-alert {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4CAF50; /* verde por defecto */
  color: white;
  padding: 15px 25px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all 0.5s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.custom-alert.show {
  top: 30px;
  opacity: 1;
}

.custom-alert.error {
  background-color: #E81163; /* rojo para errores */
}

.custom-alert.success {
  background-color: #4CAF50; /* verde para éxito */
}

.custom-alert.info {
  background-color: #2196F3; /* azul para info */
}

.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 0.25em solid #f3f3f3;
  border-top: 0.25em solid #E81163;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


#preloaderRecuperar {
  margin-left: 10px;
  vertical-align: middle;
}

#mensajeRecuperar {
  font-weight: bold;
  margin-top: 10px;
}

.modal-recuperar .modal-header {
  background: linear-gradient(90deg, #E81163, #B30E4D);
  color: white;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.modal-recuperar .modal-content {
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Inputs con transición y borde animado */
.input-animado {
  border: 1px solid #ccc;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 15px;
  background-color: #fdfdfd;
}

.input-animado:focus {
  border-color: #E81163;
  background-color: #fff;
  box-shadow: 0 0 5px rgba(232, 17, 99, 0.4);
  transform: scale(1.02);
}

.form-label {
  font-weight: 600;
  color: #333;
}


.input-estilizado {
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  transition: all 0.3s ease-in-out;
  font-size: 15px;
}

.input-estilizado:focus {
  border-color: #E81163;
  box-shadow: 0 0 0 0.2rem rgba(232, 17, 99, 0.25);
  outline: none;
}

.btn-enviar {
  background-color: #E81163;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.btn-enviar:hover {
  background-color: #B30E4D;
}


.navbar-user {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-user-img-container {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
  flex-shrink: 0;
}

.navbar-user-img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.navbar-user-name {
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 8px;
  font-weight: bold;
  color: white;
}

/* CARD PRINCIPAL */
.card-referidos {
  background: linear-gradient(180deg, #ffffff, #f4f7fb);
  border-radius: 15px;
  padding: 30px;
}

/* TITULO Y SUBTITULO */
.titulo-referidos {
  color: #e91e63;
  font-weight: 700;
  font-size: 1.8rem;
}

.subtitulo-referidos {
  color: #555;
  font-size: 1rem;
  margin-bottom: 25px;
}

/* BENEFICIOS */
.beneficios-referidos .icono-referido {
  font-size: 40px;
}

.texto-beneficio {
  color: #222;
  font-weight: 600;
}

.descripcion-beneficio {
  color: #666;
  font-size: 0.9rem;
}

/* CODIGO REFERIDO */
.referido-box {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  display: inline-block;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.codigo-referido {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  background: #fff;
  padding: 10px 15px;
  border: 1px dashed #007bff;
  border-radius: 5px;
  margin: 5px 0;
}

.label-codigo {
  font-size: 0.95rem;
  color: #444;
}

/* BOTÓN COPIAR */
.btn-copiar {
  border-radius: 20px;
  font-size: 0.9rem;
  padding: 5px 15px;
}

/* ALERTA */
.alert-referidos {
  font-size: 0.85rem;
  margin-top: 15px;
}

.nota-referidos {
 background: linear-gradient(90deg, #ff6a00, #ee0979);

  color: #fff;
  font-size: 15px;
  text-align: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin: 15px 0;
}

.nota-referidos p {
  margin: 0;
}

#tablaReferidos td {
  vertical-align: middle;
}

#tablaReferidos button {
  margin: 0 auto;
  display: block;
}

#tablaReferidos td button {
  display: block;
  margin: 0 auto;
}

/* Contenedor principal del FAB */
.fab-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

/* Botón principal (+) */
.fab-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background-color: #e91e63;
  color: white;
  font-size: 30px;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.fab-main:hover {
  background-color: #e91e63;
  transform: rotate(90deg);
}

/* Contenedor de opciones (oculto por defecto) */
.fab-options {
  display: none;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

/* Botones secundarios */
.fab-option {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  margin-bottom: 10px;
  background-color: #e91e63;
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.fab-option:hover {
  background-color: #11707f;
}


.bg-gradient-pink {
  background: linear-gradient(90deg, #d81b60, #e91e63, #f06292);
}

.modal-recuperar {
  border-radius: 12px;
  padding: 0;
}

#ocrResult .ocr-card {
  background: #fafafa;
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#ocrResult .ocr-card p {
  font-size: 15px;
  margin-bottom: 10px;
  color: #333;
}

#ocrResult .ocr-label {
  font-weight: 600;
  color: #d81b60;
  display: inline-block;
  min-width: 110px;
}

.filtros-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 25px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.filtros-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex: 1;
  min-width: 300px;
}

.filtro-grupo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 150px;
}

.filtro-grupo label {
  font-size: 14px;
  font-weight: 500;
  color: #343a40;
}

.filtro-grupo input {
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  transition: 0.2s ease;
}

.filtro-grupo input:focus {
  border-color: #0d6efd;
  outline: none;
}

.filtros-export {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 14px;
  border: none;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.btn-filtrar {
  background-color: #0d6efd;
  color: white;
}

.btn-filtrar:hover {
  background-color: #0b5ed7;
}

.btn-excel {
  background-color: #28a745;
  color: white;
}

.btn-excel:hover {
  background-color: #218838;
}

.btn-csv {
  background-color: #6c757d;
  color: white;
}

.btn-csv:hover {
  background-color: #5a6268;
}

@media (max-width: 768px) {
  .filtros-box {
    flex-direction: column;
    align-items: stretch;
  }

  .filtros-export {
    justify-content: flex-start;
  }

  .filtros-row {
    flex-direction: column;
  }
}

.alert-info-filtros {
  background-color: #e9f7fd;
  color: #0c5460;
  border: 1px solid #bee5eb;
  border-radius: 6px;
  padding: 12px 16px;
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', sans-serif;
}

.soporte-preguntas {
  padding: 1rem;
  max-width: 100%;
  margin: auto;
}

.soporte-item {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.soporte-item h5 {
  color: #3a416f;
  font-weight: 600;
  margin-bottom: 10px;
}

.soporte-item p {
  color: #5a5c69;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.soporte-contacto {
  background-color: #d4edda; /* Verde claro */
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  font-size: 1rem;
  color: #155724;
  margin-bottom: 20px;
}

.soporte-contacto a {
  color: #0b4124;
  text-decoration: underline;
}

.suscripcion-card.compacto {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background: linear-gradient(to bottom right, #ffffff, #f9f9f9);
  max-height: 300px; /* Altura reducida */
}

.suscripcion-header {
  background: linear-gradient(135deg, #ec407a, #d81b60);
  padding: 20px 0;
}

.suscripcion-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.suscripcion-icon i {
  font-size: 24px;
  color: #d81b60;
}

.suscripcion-titulo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.25rem;
}

.suscripcion-subtitulo {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0;
}

.suscripcion-divider {
  width: 60%;
  margin: 0.5rem auto;
  border-top: 1px solid #ddd;
}

.btn-precio {
  background-color: #ffffff;
  color: #333;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease-in-out;
  font-size: 1.2rem;
  padding: 0.6rem 1rem;
}

.btn-precio:hover {
  background-color: #f2f2f2;
  transform: translateY(-1px);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .col-12 {
    margin-bottom: 1rem;
  }
}

.estado-suscripcion {
  position: absolute;
  top: 14px;
  right: -42px;
  transform: rotate(45deg);
  z-index: 10;
  padding: 6px 48px;
  font-size: 0.75rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* Verde translúcido para activa */
.estado-activo {
  background-color: rgba(76, 175, 80, 0.85); /* verde */
}

/* Rojo translúcido para vencida */
.estado-vencido {
  background-color: rgba(244, 67, 54, 0.85); /* rojo */
}

