/* Style général */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f9f9f9;
  color: #333;
}

/* Barre de navigation */
.topbar {
  background-color: #2c3e50;
  padding: 10px;
  text-align: right;
}

.topbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
}

.topbar a:hover {
  text-decoration: underline;
}

/* Contenu centré */
.content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Login */
.login-container {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px #ccc;
  max-width: 400px;
  margin: 40px auto; /* haut et centré */
}




.login-container input {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Boutons */
button {
  background-color: #3498db;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #2980b9;
}

/* Liens d'action (sites) */
ul {
  list-style-type: none;
  padding-left: 0;
}

li {
  margin-bottom: 10px;
}

a {
  color: #3498db;
}

a:hover {
  text-decoration: underline;
}

/* Messages d'erreur */
.error {
  background-color: #e74c3c;
  color: white;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}


@media (max-width: 600px) {
  .topbar {
    text-align: center;
  }

  .topbar a {
    display: block;
    margin: 10px 0;
  }
}
.site-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.site-card {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 5px #ccc;
}

.site-name {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 10px;
}

.site-actions a {
  margin-right: 15px;
  color: #3498db;
  text-decoration: none;
  font-weight: bold;
}

.site-actions a:hover {
  text-decoration: underline;
}

.site-form input {
  width: 60%;
  padding: 8px;
  margin-right: 10px;
}
/* Galerie d'images de debug */
.debug-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.debug-item {
  width: 45%;
  background: #fff;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 0 6px #eee;
  text-align: center;
}

.debug-item img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.upload-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}


.upload-main {
  flex: 1 1 300px;
}

.upload-results {
  flex: 1 1 300px;
}

.result-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 5px #ccc;
  padding: 10px;
  margin-bottom: 20px;
}

.thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbs img {
  width: calc(25% - 10px); /* 4 images par ligne avec espace */
  height: auto;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.info-box {
  border-left: 4px solid #ffa500;
  background-color: #fff8e1;
  padding: 12px;
  margin: 20px;
  border-radius: 4px;
}
