.boton-referidos-card {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  box-sizing: border-box;
  min-height: 200px; /* Misma altura que las otras tarjetas */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Contenedor del icono */
.boton-referidos-icon-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.boton-referidos-icon {
  width: auto;
  height: 48px;
  color: #0F52AA; /* Color azul unificado */
}

/* Icono de información */
.boton-referidos-info-icon {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 16px;
  height: 16px;
  background: #f8f9fa;
  border-radius: 50%;
  cursor: help;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.boton-referidos-info-icon svg {
  width: 12px;
  height: 12px;
  color: #6c757d;
}

/* Tooltip */
.boton-referidos-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  padding: 8px 12px;
  background: #333;
  color: white;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 240px; /* Ancho fijo para mejor visualización */
  white-space: normal; /* Permite múltiples líneas */
  text-align: center;
  font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.boton-referidos-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.boton-referidos-info-icon:hover .boton-referidos-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Botón principal - UNIFICADO CON LOS PASOS */
.boton-referidos-btn {
  display: inline-block;
  padding: 0.75rem 0.8rem;
  font-size: 11px;
  font-weight: 600;
  border: 2px solid #ffffff;
  border-radius: 36px;
  background: linear-gradient(135deg, #0F52AA 0%, #0F52AA 100%);
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: all 1s ease !important;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  box-shadow: none !important;
  margin-top: auto; /* Empuja el botón hacia la parte inferior */
  font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.boton-referidos-btn:hover {
  background: linear-gradient(135deg, #167BFF 0%, #167BFF 100%);
  box-shadow: none !important;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.boton-referidos-btn:active {
  box-shadow: none !important;
  border: 2px solid #ffffff;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 480px) {
  .boton-referidos-card {
    padding: 1rem;
    min-height: 180px; /* Ajuste para móviles */
  }
  
  .boton-referidos-icon {
    height: 40px;
  }
  
  .boton-referidos-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
    border: 2px solid #ffffff;
  }
  
  .boton-referidos-tooltip {
    width: 200px; /* Ajuste para móviles */
    font-size: 0.7rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .boton-referidos-btn {
    font-size: 10px;
    padding: 0.7rem 0.6rem;
    border: 2px solid #ffffff;
  }
}

@media (min-width: 769px) {
  .boton-referidos-btn {
    font-size: 11px;
    padding: 0.75rem 1rem;
    border: 2px solid #ffffff;
  }
}