/* ---------- Container ---------- */
.register-container {
  background: #1e1e1e;
  border-radius: 20px;
  padding: 40px 30px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  text-align: center;
  animation: fadeIn 0.6s ease;
  margin:50px auto;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* ---------- Title ---------- */
.register-container h1 {
  color: #F54927;
  margin-bottom: 25px;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Input fields ---------- */
.register-form input,
.register-form select {
  width: 100%;
  padding: 12px 15px;
  margin: 8px 0;
  background: #2a2a2a;
  border: 2px solid transparent;
  border-radius: 25px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.register-form input:focus,
.register-form select:focus {
  border-color: #F54927;
  background: #242424;
}

.register-form select option {
  background: #1e1e1e;
  color: #fff;
}

/* ---------- Button ---------- */
.register-form button {
  width: 100%;
  margin-top: 15px;
  background: #F54927;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.register-form button:hover {
  background: #0077ff;
  transform: translateY(-2px);
}

/* ---------- Message d’erreur ---------- */
.message-error {
  color: #ff5e5e;
  background: #2a0000;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

/* ---------- Footer link ---------- */
.footer-link {
  margin-top: 20px;
  font-size: 14px;
  color: #ccc;
}
.footer-link a {
  color: #F54927;
  text-decoration: none;
}
.footer-link a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .register-container {
    padding: 30px 20px;
    border-radius: 15px;
  }
  .register-form input,
  .register-form select {
    font-size: 14px;
  }
}