@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap");

* {
  font-family: "Poppins", sans-serif;
}


p, h1, h2, a, button{
  color: #0F253F !important;
}

p{
  margin-bottom: 0;
}

button{
  border: none !important;
}

.pointer{
    cursor:pointer !important;
}

.fs-6 {
    font-size: 14px !important;
}

button:hover{
  background-color: #c8bf42 !important;
}

body{
  background-color: #EFF3F6;
}

.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300 !important;
  font-style: normal !important;
}

.fw-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700 !important;
  font-style: normal;
}

.mainColor{
  color: #062540;
}

.mainBgColor{
  background-color: #062540;
}

.secondaryColor{
  color: #EBDC05;
}

.secondaryBgColor{
  background-color: #EBDC05;
}

/* Fondo verde para etiquetas de gratuito/adquirido */
.gratisBgColor{
  background-color: #28a745;
  color: #ffffff !important;
}

/* Estilo para opción de test seleccionada */
.opcion-seleccionada {
  background-color: #4A90E2 !important;
  border: 2px solid #357ABD !important;
  transition: all 0.3s ease;
}

.opcion-seleccionada p {
  color: #0F253F !important;
}

/* Hover effect para opciones del test */
.opcion-test:hover {
  background-color: #E8F4FD !important;
  border: 1px solid #4A90E2 !important;
  transition: all 0.2s ease;
}

.opcion-test {
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

/* Estilos específicos para formato de tabla (test_ejecutar.php) */
.opcion-test-table:hover {
  background-color: #E8F4FD !important;
  transition: all 0.2s ease;
}

.opcion-seleccionada-table {
  background-color: #4A90E2 !important;
  color: #0F253F !important;
  transition: all 0.3s ease;
}

/* Responsive y UX mejoradas */
.hover-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

/* Prevenir overflow horizontal en móviles */
body {
  overflow-x: hidden;
}

.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 576px) {
  .navbar-brand img {
    max-width: 150px !important;
  }

  .fs-3 {
    font-size: 1.5rem !important;
  }

  .fs-4 {
    font-size: 1.25rem !important;
  }

  .badge {
    font-size: 0.7rem !important;
  }
}

/* ============================================
   STATS - Horizontal Ultra-Compact
   ============================================ */

.stats-horizontal {
  background: #fff;
  padding: 1.25rem 0;
  border-bottom: 1px solid #E5E7EB;
}

.stats-h-header {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0F253F !important;
  margin-bottom: 0.875rem;
}

.stats-h-row {
  display: flex !important;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-h {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: #FAFAFA;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.stat-h:hover {
  background: #fff;
  border-color: #062540;
}

.stat-h svg {
  flex-shrink: 0;
  color: #6B7280;
}

.stat-h-val {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0F253F !important;
  line-height: 1;
  margin-right: 0.375rem;
}

.stat-h-lbl {
  font-size: 0.75rem;
  color: #6B7280 !important;
  font-weight: 500;
  white-space: nowrap;
}

.stat-h-meta {
  font-size: 0.688rem;
  color: #9CA3AF !important;
  font-weight: 400;
}

.stat-h-badge {
  font-size: 0.875rem;
  color: #EBDC05 !important;
  margin-left: 0.25rem;
}

@media (max-width: 992px) {
  .stats-h-row {
    gap: 0.75rem;
  }

  .stat-h {
    padding: 0.5rem 0.75rem;
  }

  .stat-h-val {
    font-size: 1.25rem;
  }

  .stat-h-lbl {
    font-size: 0.688rem;
  }
}

@media (max-width: 768px) {
  .stats-horizontal {
    padding: 1rem 0;
  }

  .stats-h-header {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .stats-h-row {
    gap: 0.5rem;
  }

  .stat-h {
    padding: 0.5rem 0.625rem;
    gap: 0.375rem;
  }

  .stat-h svg {
    width: 14px;
    height: 14px;
  }

  .stat-h-val {
    font-size: 1.125rem;
    margin-right: 0.25rem;
  }

  .stat-h-lbl {
    font-size: 0.625rem;
  }

  .stat-h-meta {
    font-size: 0.625rem;
  }
}