/* 🌌 Fond général Secret Story */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('fond-secretstory2025.png') center/cover no-repeat fixed;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

/* 🟦 Boîte noire transparente centrale */
.container {
  background: rgba(0, 0, 0, 0.75);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 0, 204, 0.4);
  text-align: center;
  max-width: 420px;
  width: 100%;
  backdrop-filter: blur(6px);
  margin-top: 220px;
  z-index: 2;
  box-sizing: border-box;
}

/* 🎆 Titres brillants */
h1, h2 {
  background: linear-gradient(to right, #ff00cc, #00ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
  font-size: 24px;
  margin-bottom: 20px;
}
@keyframes shine {
  0% { background-position: -200px; }
  100% { background-position: 200px; }
}

/* ✉️ Champs formulaire */
input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 14px;
  margin: 12px 0;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}
input::placeholder {
  color: #444;
  font-style: italic;
}

/* 🎨 Boutons flashy Secret */
button, .btn {
  background: linear-gradient(to right, #ff00cc, #00ccff);
  color: white;
  border: none;
  padding: 14px 22px;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
button:hover, .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px #00f0ff;
}

/* 🔗 Liens */
a {
  color: #00e0ff;
  text-decoration: none;
  margin-top: 15px;
  display: inline-block;
}
a:hover {
  text-decoration: underline;
}

/* ⚠️ Messages d'alerte */
.error {
  color: #ffbbbb;
  font-weight: bold;
  margin-top: 10px;
}
.success {
  color: #b3ffb3;
  font-weight: bold;
  margin-top: 10px;
}

/* 🧮 Tableau admin */
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0,0,0,0.7);
  margin-top: 20px;
  font-size: 15px;
}
th, td {
  padding: 10px;
  border: 1px solid #444;
  text-align: center;
}
th {
  background: rgba(255,0,204,0.2);
}
tr:nth-child(even) {
  background: rgba(255,255,255,0.05);
}

/* 📱 Mobile / petit écran */
@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 20px;
    margin-top: 180px;
    width: 100%;
  }

  h1, h2 {
    font-size: 20px;
  }

  input, button {
    font-size: 15px;
  }

  table {
    font-size: 13px;
  }
}
