/* Population : les boutons reprennent les choix réels du formulaire Zendesk. */
.new-request-page .request-population {
  margin-bottom: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(84, 4, 50, .18);
  border-radius: 20px;
  background: linear-gradient(135deg, #faf5f8, #fff);
}
.request-population__title {
  margin: 0 0 12px;
  color: #540432;
  font-size: 13px;
  font-weight: 700;
}
.request-population__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.request-population__button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #d6bdcb;
  border-radius: 24px;
  background: #fff;
  color: #540432;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.request-population__button[aria-pressed="true"] {
  background: #540432;
  border-color: #540432;
  color: #fff;
}
.request-population__button:hover {
  box-shadow: 0 2px 8px rgba(84, 4, 50, .14);
}
.request-population__button:focus-visible,
.request-choice-close:focus-visible {
  outline: 3px solid #a95b89;
  outline-offset: 3px;
}
.new-request-page .request-event-notice:not(:empty) {
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid #e6c46c;
  border-left: 4px solid #a76b00;
  border-radius: 8px;
  background: #fff8e6;
  color: #684500;
  font-size: 14px;
  line-height: 1.5;
}
/* Les sélecteurs et le cadre restent limités à la page de nouvelle demande. */
.new-request-page #main-content.form,
.new-request-page #main-content {
  border-radius: 20px;
}
.new-request-page #new-request-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.new-request-page #new-request-form textarea,
.new-request-page #new-request-form [data-garden-id="dropdowns.combobox.container"],
.new-request-page #new-request-form [data-request-choice-trigger] {
  border-radius: 12px;
}
/* Le conteneur flottant natif est agrandi sans déplacer les noeuds gérés par React. */
body.request-choice-open {
  overflow: hidden;
}
.request-choice-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(32, 18, 30, .48);
  backdrop-filter: blur(3px);
}
.request-choice-backdrop[hidden] {
  display: none;
}
.new-request-page [data-request-choice-popup] {
  position: fixed !important;
  inset: 50% auto auto 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(720px, calc(100vw - 48px)) !important;
  max-height: calc(100vh - 64px) !important;
  max-height: calc(100dvh - 64px) !important;
  display: flex !important;
  flex-direction: column;
  z-index: 9999 !important;
  border: 1px solid #e0d1db !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 24px 80px rgba(32, 18, 30, .3);
  overflow: hidden !important;
  box-sizing: border-box;
}
.new-request-page .request-choice-header {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 28px 76px 24px 28px;
  border: 0;
  border-bottom: 1px solid #eee5eb;
  border-radius: 0;
  background: #fcf8fb;
  box-shadow: none;
  box-sizing: border-box;
}
.new-request-page .request-choice-header h2 {
  margin: 0 0 10px;
  color: #35212e;
  font-size: 22px;
  line-height: 1.3;
}
.new-request-page .request-choice-header p {
  margin: 0;
  color: #655660;
  font-size: 14px;
  line-height: 1.6;
}
.request-choice-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d6bdcb;
  border-radius: 50%;
  background: #fff;
  color: #540432;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.new-request-page [data-request-choice-list] {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scroll-padding: 24px;
}
.new-request-page [data-request-choice-list] [role="option"] {
  min-height: 52px;
  margin: 0 0 12px;
  padding: 16px 20px;
  padding-inline: 44px 40px;
  border: 1px solid #e5d7e0;
  border-radius: 12px;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.new-request-page [data-request-choice-list] [data-garden-id="dropdowns.combobox.option.type_icon"] {
  top: 50%;
  transform: translateY(-50%);
}
.new-request-page [data-request-choice-list] [role="option"]:last-child {
  margin-bottom: 0;
}
.new-request-page [data-request-choice-list] [role="option"][aria-selected="true"] {
  border-color: #540432;
  background: #faf2f7;
}
@media (max-width: 600px) {
  .new-request-page .request-population { padding: 16px; }
  .request-population__button { flex: 1 1 auto; padding: 10px 14px; }
  .new-request-page [data-request-choice-popup] {
    width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    border-radius: 18px !important;
  }
  .new-request-page .request-choice-header { padding: 20px 68px 20px 20px; }
  .new-request-page .request-choice-header h2 { font-size: 19px; }
  .request-choice-close { top: 16px; right: 16px; }
  .new-request-page [data-request-choice-list] { padding: 16px !important; scroll-padding: 16px; }
  .new-request-page [data-request-choice-list] [role="option"] { padding: 14px 16px; padding-inline: 44px 40px; }
}
