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

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f0e6db;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.registration-box {
  background-color: #fff;
  padding: 40px;
  border-radius: 30px;
  width: 800px;
  max-width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
}

.back-arrow {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 24px;
}

.back-arrow a {
  color: #a46a87;
  text-decoration: none;
}

.back-arrow a:hover {
  color: #8c5870;
}

.registration-box h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.message-list {
  list-style: none;
  margin-bottom: 20px;
}

.success-message {
  color: #00b374;
  font-weight: bold;
}

/* Style spécifique pour les champs select */
.input-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23666' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 12px;
  cursor: pointer;
}

/* Corriger l'espacement pour que l'icône ne chevauche pas le texte */
.input-group select {
  padding-left: 35px; /* s'aligne avec les inputs */
}


.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 25px;
  margin-bottom: 30px;
  direction: rtl;
}

.input-group {
  position: relative;
}

.input-group .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 10px 10px 10px 35px;
  border: none;
  border-radius: 10px;
  background-color: #e6e6e6;
  font-size: 14px;
  direction: rtl;
  text-align: right;
}

.confirm-btn {
  background-color: #a46a87;
  color: #fff;
  padding: 14px 100px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  grid-column: span 2;
}

.confirm-btn:hover {
  background-color: #8c5870;
}
