/* ——— RESET DE BASE ——— */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ——— STRUCTURE GÉNÉRALE ——— */
html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* ——— BARRE DE NAVIGATION ——— */
.topbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 16px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ——— BOUTONS NAVIGATION ——— */
.btn-glass-small {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 186, 255, 0.25);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  font-size: 0.9rem;
  border-radius: 10px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.btn-glass-small:hover {
  background: #00baff;
  border-color: #00baff;
  color: #fff;
}

/* ——— ZONE PRINCIPALE ——— */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* ——— BLOC GLASS STYLE ——— */
.container {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  width: 90%;
  margin: 2rem auto;
  text-align: center;
}

/* ——— FORMULAIRES & INPUT ——— */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1em;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  text-align: center;
  width: 100%;
}

/* ——— TOAST COPIE ——— */
#toast-copie {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #111;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

/* ——— TABLEAUX ——— */
table {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  text-align: center;
}

th, td {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

thead {
  background: rgba(0, 186, 255, 0.2);
}

/* ——— FOOTER ——— */
footer {
  text-align: center;
  padding: 14px;
  font-size: 0.9em;
  color: #f5f5f5;
  background-color: #000;
}

footer a {
  color: #f5f5f5;
  text-decoration: none;
}

footer a:hover {
  color: #00baff;
  text-decoration: underline;
}

/* ——— BADGE DON ——— */
.badge-don {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 186, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 186, 255, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.badge-don:hover {
  background: #00baff;
  box-shadow: 0 0 15px rgba(0, 186, 255, 0.6);
  transform: translateY(-2px);
}
