/* ===========================
   Styles personnalisés Elan
   =========================== */

body {
  background-color: #f8f9fa;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-weight: 600;
  text-align: center;
  color: #333;
}

/* Boutons personnalisés */
.btn-outline-light:hover {
  background-color: #ffffff;
  color: #000000;
}

/* Cartes outils */
.card-tool {
  transition: transform 0.2s ease;
}
.card-tool:hover {
  transform: scale(1.02);
  box-shadow: 0 0 10px #aaa;
  transition: all 0.2s ease-in-out;
}

/* Barre de navigation */
.navbar {
  border-bottom: 2px solid #0d6efd;
}

/* ===========================
   Styles pour les vidéos (ajoutés)
   =========================== */

.search-container {
  text-align: center;
  margin-top: 1rem;
}

.search-container input {
  padding: 0.5rem;
  width: 60%;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.video-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

iframe {
  width: 100%;
  height: 180px;
  border: none;
}

.video-title {
  padding: 1rem;
  font-weight: bold;
  font-size: 1rem;
  color: #222;
}

/* Style personnalisé pour la page d'extraction JSON */
#resultTable th, #resultTable td {
  text-align: center;
  vertical-align: middle;
}

#resultTable td a {
  word-break: break-all;
  text-decoration: none;
  color: #0d6efd;
}

#resultTable td a:hover {
  text-decoration: underline;
}

.btn i {
  margin-right: 4px;
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.4rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 6px 10px;
  }

  .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.card-tool:hover {
    border: 2px solid #0d6efd; /* Bleu Bootstrap */
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
