/* ==================== Styles communs ==================== */
:root {
  --bg:#121025;
  --ink:#e4e4e7;
  --accent:#e040fb;
  --accent-hover:#d500f9;
  --panel:#2e1a4c;
  --radius:16px;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
/* ==================== Main / Formulaire ==================== */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 20px;
}

#formulaire-profil {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  padding: 30px;
  width: 100%;
  max-width: 800px;
}

h2 {
  text-align: center;
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

form {
  display: flex;
  flex-direction: column;
}

.champ {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

label {
  font-weight: bold;
  margin-bottom: 5px;
}

input, textarea {
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #1b112e;
  color: var(--ink);
  font-size: 14px;
}

input[type="file"] {
  background: none;
  padding: 0;
}

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

.boutons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 10px;
}

button, .bouton-annuler {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  border: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}

button {
  background: var(--accent);
  color: #121025;
}

button:hover {
  background: var(--accent-hover);
}

.bouton-annuler {
  background: #444;
  color: var(--ink);
}

.bouton-annuler:hover {
  background: #666;
}

@media (max-width: 700px) {
  #formulaire-profil {
    padding: 20px;
  }
}



