/* Reporté depuis Apparence > Personnaliser > CSS additionnel (post 457) le 09/11/2026, copie exacte. */
/* Esthetim — MediWeb Form standalone styles */
.mw-form {
  max-width: 900px;
  margin: 0 auto;
}
.mw-form-row,
.wp-block-mediweb-form-row {
  display: flex !important;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}
.mw-form__field,
.wp-block-mediweb-form-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px;
  flex: 1 1 calc(50% - 15px) !important;
  min-width: 0;
  max-width: 100%;
}
.mw-form-row > .mw-form__field:only-child,
.wp-block-mediweb-form-row > .wp-block-mediweb-form-field:only-child {
  flex-basis: 100% !important;
}
.mw-form__field-label,
.wp-block-mediweb-form-field > label,
.wp-block-mediweb-form-field .field-wrapper > span:first-child {
  color: #443A45;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.71;
  display: block;
  margin-bottom: 4px;
}
.mw-form__text-input,
.mw-form__tel-input,
.mw-form__number-input,
.mw-form__date-input,
.mw-form__field input[type="text"],
.mw-form__field input[type="tel"],
.mw-form__field input[type="number"],
.mw-form__field input[type="date"],
.mw-form__field input[type="email"],
.wp-block-mediweb-form-field .input-wrapper input {
  width: 100% !important;
  height: 56px !important;
  padding: 0 16px !important;
  background: #F3F3F3 !important;
  border: 1px solid transparent !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  font-family: inherit !important;
  color: #313346 !important;
  box-sizing: border-box !important;
  transition: border-bottom-color .25s ease !important;
  outline: none !important;
}
.mw-form__textarea-input,
.mw-form__field textarea,
.wp-block-mediweb-form-field .input-wrapper textarea {
  width: 100% !important;
  min-height: 140px !important;
  padding: 16px !important;
  background: #F3F3F3 !important;
  border: 1px solid transparent !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  font-family: inherit !important;
  color: #313346 !important;
  box-sizing: border-box !important;
  resize: vertical !important;
  outline: none !important;
}
.mw-form__dropdown-select,
.mw-form__field select,
.wp-block-mediweb-form-field .input-wrapper select {
  width: 100% !important;
  height: 56px !important;
  padding: 0 40px 0 16px !important;
  background-color: #F3F3F3 !important;
  border: 1px solid transparent !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  font-family: inherit !important;
  color: #313346 !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='8' viewBox='0 0 13 8'%3E%3Cpath fill='%2358655A' d='M6.5 8L0 0h13z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  outline: none !important;
}
.mw-form__field input:focus,
.mw-form__field textarea:focus,
.mw-form__field select:focus,
.wp-block-mediweb-form-field .input-wrapper input:focus,
.wp-block-mediweb-form-field .input-wrapper textarea:focus {
  border-color: transparent !important;
  border-bottom-color: #58655A !important;
}
.mw-form__file-zone {
  position: relative;
}
.mw-form__file-input,
.upload-wrapper input[type="file"] {
  width: 100% !important;
  padding: 16px !important;
  background: transparent !important;
  border: 1.5px dashed #58655A !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  font-size: 14px !important;
  color: #443A45 !important;
  box-sizing: border-box !important;
}
.mw-form__file-hint {
  font-size: 12px;
  color: rgba(49,51,70,.5);
  margin-top: 4px;
  text-align: center;
}
.mw-form__submit {
  margin-top: 20px;
  text-align: left;
}
.mw-form__submit-btn {
  font-weight: 500 !important;
  font-size: 16px !important;
  color: #58655A !important;
  border: 1px solid #58655A !important;
  background: transparent !important;
  border-radius: 30px !important;
  padding: 16px 40px !important;
  cursor: pointer !important;
  transition: background-color .3s ease, color .3s ease !important;
  font-family: inherit !important;
}
.mw-form__submit-btn:hover {
  background-color: #6F8A74 !important;
  border-color: #6F8A74 !important;
  color: #fff !important;
}
.mw-form__field.has-error input,
.mw-form__field.has-error textarea,
.mw-form__field.has-error select {
  border-color: #b00020 !important;
}
.mw-form__field .error-message {
  font-size: 12px;
  color: #b00020;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .mw-form__field,
  .wp-block-mediweb-form-field {
    flex-basis: 100% !important;
  }
}
/* Response modal */
.mw-form-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(4px);
}
.mw-form-modal__content {
  position: relative !important;
  background: #fff !important;
  border-radius: 24px !important;
  padding: 48px 40px 40px !important;
  max-width: 480px !important;
  width: 90% !important;
  text-align: center !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
  font-family: inherit !important;
}
.mw-form-modal__close {
  position: absolute !important;
  top: 16px !important;
  right: 20px !important;
  appearance: none !important;
  border: none !important;
  background: none !important;
  font-size: 1.75rem !important;
  cursor: pointer !important;
  color: #666 !important;
  line-height: 1 !important;
  padding: 0 !important;
}
.mw-form-modal__close:hover {
  color: #333 !important;
}
.mw-form-modal__icon {
  width: 56px !important;
  height: 56px !important;
  margin: 0 auto 20px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.75rem !important;
}
.mw-form-modal__icon--success {
  background-color: #e8f5e9 !important;
  color: #58655A !important;
}
.mw-form-modal__icon--error {
  background-color: #ffebee !important;
  color: #b00020 !important;
}
.mw-form-modal__message {
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #443A45 !important;
  margin: 0 !important;
  font-weight: 500 !important;
}
/* File error */
.mw-form__file-error {
  font-size: 13px;
  color: #b00020;
  margin: 8px 0 0;
  text-align: center;
}
.mw-form__file-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(0,0,0,.03);
  font-size: 14px;
}
.mw-form__file-remove {
  appearance: none;
  border: none;
  background: none;
  color: #b00020;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0 6px;
}
251: 
252: /* Masquer bouton RDV & Urgences dans le header */
253: .corespondent-button {
254:     display: none !important;
255: }

/* Masquer bouton RDV & Urgences dans le header */
.buttons-x .corespondent-button {
    display: none !important;
}
