.contact-bar {
  background-color: #f8f9fa;
  font-size: 0.95rem;
  font-weight: 500;
  color: #444;
  letter-spacing: 0.3px;
}

.contact-bar i {
  font-size: 1rem;
  color: #fd0d0d; /* Bootstrap primary blue */
}

.contact-bar span {
  color: #222;
}

@media (max-width: 576px) {
  .contact-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-info {
    width: 100%;
  }
}



.footer {
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}


/* Responsividad: ajusta la barra de contacto para pantallas pequeñas */
@media (max-width: 576px) {
  .contact-bar {
    font-size: 0.8rem;
    /* Reducir el tamaño de fuente en pantallas pequeñas */
  }

  .contact-bar .container-fluid {
    text-align: center;
    /* Centra el contenido en pantallas pequeñas */
  }

  .contact-item {
    justify-content: center;
    /* Centra los elementos dentro de cada item de contacto */
  }
}

/* BOTÓN PARA CARTAS DEL PANEL DE CONTROL */
.button {
  width: 200px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0px 15px;
  background-color: rgb(66, 66, 66);
  border-radius: 10px;
  color: white;
  border: none;
  position: relative;
  cursor: pointer;
  transition-duration: .2s;
}

.bell {
  width: 13px;
}

.bell path {
  fill: rgb(0, 206, 62);
}

.arrow {
  position: absolute;
  right: 0;
  width: 30px;
  height: 100%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button:hover {
  background-color: rgb(77, 77, 77);
  transition-duration: .2s;
}

.button:hover .arrow {
  animation: slide-right .6s ease-out both;
}

/* arrow animation */
@keyframes slide-right {
  0% {
    transform: translateX(-10px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.button:active {
  transform: translate(1px, 1px);
  transition-duration: .2s;
}


/*------------------TARJETA PARA CATEGORIAS ACTIVAS Y OTRAS MÁS------------------*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.226);
  margin-top: 10px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  flex: 1 1 calc(33.33% - 1rem);
  min-width: 280px;
}

/* Efecto escalonado */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.card-text {
  font-size: 1.9rem;
  color: #ff0000;
}

/* Contenedor de tarjetas */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* Responsive: tablet */
@media (max-width: 992px) {
  .card {
    flex: 1 1 calc(50% - 1rem);
  }
}

/* Responsive: móvil */
@media (max-width: 576px) {
  .card {
    flex: 1 1 100%;
  }

  #miGraficoContainer {
    width: 100% !important;
  }
}
