/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(135deg, #f0f4ff, #e6ecff);
  color: #333;
  line-height: 1.7;
  margin: 0;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1em;
  text-align: center;
}

/* Card */
.register-card {
  background: #fff;
  border-radius: 16px;
  padding: 2em;
  max-width: 100%;
  width: 95%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  animation: fadeInUp 0.8s ease both;
  position: relative;
  text-align: justify;
}

/* Titres */
h1 {
  font-size: 68px;
  margin-bottom: 0.6em;
  color: #2c3e50;
  text-align: center;
}
h2, h3 {
  font-size: 56px;
  margin: 0.8em 0 0.4em;
  color: #2c3e50;
  text-align: center;
}

/* Paragraphes et listes */
p, li {
  margin: 0.6em 0;
  font-size: 36px;
  line-height: 1.7;
  text-align: justify;
}
ul {
  margin: 1em 0;
  padding-left: 1.2em;
}

/* Messages */
.error {
  color: #e74c3c;
  font-weight: bold;
  margin: 0.8em 0;
  text-align: center;
}
.inviter-info {
  background: #e6f7ff;
  border: 1px solid #0078D7;
  border-radius: 8px;
  padding: 0.8em;
  margin: 1em 0;
  font-size: 25px;
  text-align: justify;
}

/* Formulaire */
.register-form {
  margin-top: 1em;
  text-align: center;
}
.register-form input[type="email"],
.register-form input[type="text"],
.register-form input[type="password"] {
  width: 100%;
  padding: 0.9em;
  margin: 0.8em 0;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 26px;
  text-align: center;
}
.register-form button {
  width: 100%;
  background: linear-gradient(145deg, #4a90e2, #357ab8);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 1em;
  font-size: 27px;
  font-weight: bold;
  margin-top: 1em;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.register-form button:hover {
  background: #357ab8;
}