/* Estilo para fondo degradado a pantalla completa */
body {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  /* Degradado Azul Profundo */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Contenedor tipo tarjeta flotante */
.index-card {
  background: rgba(255, 255, 255, 0.95);
  /* Blanco con ligera transparencia */
  width: 100%;
  max-width: 600px;
  /* Ancho máximo para que se vea bien en desktop */
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  /* Ocupa máximo el 90% del alto de la pantalla */
  overflow: hidden;
  /* Importante para el borde redondeado */
}

/* Encabezado fijo de la tarjeta */
.card-header-custom {
  padding: 2rem;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
  background: #fff;
}

.card-header-custom h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  letter-spacing: -0.5px;
}

/* Área de lista "scrolleable" */
.scroll-area {
  overflow-y: auto;
  /* Habilita el scroll vertical solo aquí */
  padding: 10px;
}

/* Estilización de la barra de scroll (opcional, para navegadores webkit) */
.scroll-area::-webkit-scrollbar {
  width: 8px;
}

.scroll-area::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

/* Estilos de los enlaces individuales */
.campaign-link {
  border: none;
  border-radius: 12px !important;
  margin-bottom: 8px;
  padding: 15px 20px;
  background-color: #f8f9fa;
  transition: all 0.2s ease;
  color: #555;
  font-weight: 500;
  text-decoration: none;
  /* Elimina subrayado por defecto */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.campaign-link:hover {
  background-color: #e9ecef;
  transform: translateX(5px);
  /* Pequeña animación al pasar el mouse */
  color: #0d6efd;
  /* Color primario de Bootstrap */
}

.campaign-link i {
  font-size: 1.2rem;
}