body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
}
header {
    background: #007f5f;
    color: white;
    padding: 1em;
    text-align: center;
}
section {
    padding: 2em;
}
.dashboard-cards {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}
.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1em;
    flex: 1 1 30%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
footer {
    background: #eee;
    text-align: center;
    padding: 1em;
    margin-top: 2em;
}

/* — AÑADE ESTO PARA EL CARRUSEL — */
.logo-row img {
  height: 40px; /* Hace que cada logo mida la mitad de los 60px del contenedor */
  width: auto;  /* Mantiene la proporción */
}
.text-loop {
  background-color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.5rem 0;
  margin-top: 2rem;
}
.text-loop p {
  display: inline-block;
  font-size: 0.9rem;
  color: #555;
  animation: scroll-text 20s linear infinite;
  padding-left: 100%;
}
@keyframes scroll-text {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* === CSS PARA INCRUSTAR EL TIKTOK DE FORMA RESPONSIVE Y CON ESTILO === */

.tiktok-section {
  max-width: 300px;                    /* Ajusta a tu gusto */
  margin: 2rem auto;                   /* Centramos con márgenes arriba/abajo */
  padding: 1rem;
  background-color: #fafafa;           /* Fondo suave */
  border-radius: 8px;                  /* Bordes redondeados */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);/* Sombra sutil */
}

.tiktok-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #333;
}

.tiktok-description {
  text-align: center;
  margin-bottom: 1rem;
  color: #555;
  line-height: 1.4;
}

.tiktok-wrapper {
  position: relative;
  width: 100%;                         
  /* 575 ÷ 325 ≈ 1.769 → 176.9%; si se ve cortado, prueba entre 175%–180% */
  padding-top: 177%;                   
  overflow: hidden;
  border-radius: 6px;                  
}

.tiktok-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Ajustes móviles: */
@media (max-width: 500px) {
  .tiktok-section {
    padding: 0.5rem;
    margin: 1rem auto;
  }
  .tiktok-title {
    font-size: 1.25rem;
  }
  .tiktok-description {
    font-size: 0.9rem;
  }
}
