.form-webform-appointment .form-type-tel {
  display: flex;
  flex-direction: column;
}
.form-type-textarea label,
.form-webform-appointment .form-type-tel label,
.form-webform-appointment .form-type-textfield label,
.form-webform-appointment .legend {
  color: var(--pf-brand-primary-70);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}
.form-webform-appointment .legend {
  margin-bottom: 8px;
}
.form-webform-appointment .legend:after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0.1em;
  content: "";
  vertical-align: super;
  background-image: url("../../images/required.svg");
  background-repeat: no-repeat;
  background-size: 6px 6px;
}
.form-webform-appointment .form-submit {
  position: relative;
  border: none;
  background: none;
  color: var(--pf-brand-primary-70);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  padding-left: 3.5rem !important;
  display: block;
  text-align: left;
  display: inline-block;
  transition: color 0.2s;
  transform: translateY(3px);
}
.form-webform-appointment .form-submit:hover {
  color: var(--color-primary--5); /* Couleur au survol */
}
.form-webform-appointment .form-actions{
  position: relative;
  width: fit-content;
  margin-top: 2rem;
}
.form-webform-appointment .form-actions::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background-color: rgba(61, 181, 230, 0.1);
  border-radius: 50%;
  background-image: url('../../images/icon-arrow-blue.svg');
  background-repeat: no-repeat;
  background-position: center;
  margin-left:0.5rem;
}
textarea,
input[data-drupal-selector="edit-phone"],
input[data-drupal-selector="edit-rpps-code"],
input[data-drupal-selector="edit-postal-code"]{
  resize: none;
  padding: 0.5rem;
  height: 44px;
  border: none;
  border-bottom: 1.5px solid #C7CCD1;
}
.form-webform-appointment input.error[data-drupal-selector="edit-phone"],
.form-webform-appointment input.error[data-drupal-selector="edit-rpps-code"]{
  border: 2px solid red;
}
.form-webform-appointment .text-count-message {
  display: none !important;
}
.form-webform-appointment input.form-text.webform-counter-warning {
  border-color: unset;
  background: #ffff;
}
.form-webform-appointment .form-item--error-message {
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-weight: 400;
}
textarea#edit-message{
  min-height: 80px;
}
.form-webform-appointment .webform-options-display-buttons label.webform-options-display-buttons-label {
  display: inline-flex;
  justify-content: center;
  width: initial;
  height: unset;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-primary--7);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--color-primary--7);
  transition: background-color 0.15s ease;
  background-color: var(--color-neutral--1);
  line-height: 141.667%;
}
.form-webform-appointment .webform-options-display-buttons label.webform-options-display-buttons-label:hover,
.form-webform-appointment .webform-options-display-buttons input:hover + label.webform-options-display-buttons-label {
  background-color: var(--color-primary--7);
  color: var(--color-neutral--1);
  cursor: pointer;
}
.form-webform-appointment .webform-options-display-buttons input:checked + label.webform-options-display-buttons-label {
  background-color: var(--color-primary--7);
  color: var(--color-neutral--1) !important;
}
.form-webform-appointment .webform-options-display-buttons-horizontal .webform-options-display-buttons-wrapper {
  margin: 0;
}
.form-webform-appointment .webform-options-display-buttons {
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
}
.form-webform-appointment .form-checkboxes .webform-options-display-buttons-wrapper .form-item {
  margin: 0;
}
@media (min-width: 768px) {
  textarea#edit-message{
    min-height: 160px;
  }
  .form-type-textarea label{
    font-size: 14px;
    line-height: 150%;
  }
}
