body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #e9f1f7, #fefefe);
  margin: 0;
  padding: 0;
}

.container {
  max-width: 700px;
  margin: 50px auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

h2 {
  text-align: center;
  color: #004080;
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  flex: 1 1 100%;
}

label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

input, textarea {
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fafafa;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  border-color: #007acc;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

button {
  padding: 12px 25px;
  background-color: #007acc;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #005fa3;
}

.row {
  width: 100%;
  margin-bottom: 30px;
}

.card {
  background-color: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  margin-bottom: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

input[type="radio"] {
  margin-right: 5px;
  margin-left: 10px;
}

input[type="text"]::placeholder,
textarea::placeholder {
  font-style: italic;
  color: #aaa;
}

input[name="specialite"],
input[name="autre_profession"] {
  margin-top: 10px;
  width: 100%;
  display: none;
}

.custom-select {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 10px;
}

.custom-select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}



