:root {
  --bg-main: #0b0f1a;
  --bg-card: #151a2e;
  --bg-input: #0f1324;

  --primary: #7c7cff;
  --secondary: #22ffd2;
  --accent: #ff4ecd;

  --text-main: #ffffff;
  --text-muted: #b8b8d4;

  --radius: 14px;
  --glow: 0 0 25px rgba(124, 124, 255, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(circle at top, #141933, var(--bg-main));
  color: var(--text-main);
  padding: 30px;
  max-width: 700px;
  margin: auto;
}

/* TITRES */
h1, h2, h3 {
  margin-bottom: 10px;
}

p {
  color: var(--text-muted);
}

/* CARTES */
.card {
  background: linear-gradient(160deg, var(--bg-card), #0d1122);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.glow {
  box-shadow: var(--glow);
}

/* LISTES */
.infos li {
  margin: 8px 0;
}

/* INPUTS */
input,
textarea,
select {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-input);
  color: var(--text-main);
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(124, 124, 255, 0.25);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

/* SELECT */
select {
  cursor: pointer;
}

/* BOUTON */
button {
  margin-top: 18px;
  padding: 14px;
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 78, 205, 0.45);
}

/* Style quand le bouton est grisé (disabled) */
#submit-btn:disabled {
background-color: #cccccc !important; /* Gris clair */
color: #666666 !important; /* Texte gris foncé */
cursor: not-allowed; /* Curseur de blocage */
opacity: 0.7;

.glow {
box-shadow: 0 0 15px rgba(124, 124, 255, 0.3);
}
}

/* RÉPONSE */
#response {
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(124, 124, 255, 0.12);
  border: 1px solid rgba(124, 124, 255, 0.35);
}