/**
 * Wizard iframe select — layout iframe et modale de confirmation.
 */

body.iframeseqselect.path-requete,
html.iframeseqselect {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible;
}

body.iframeseqselect.path-requete .main-container {
  height: auto !important;
  min-height: 0 !important;
}

body.iframeseqselect.path-requete header,
body.iframeseqselect.path-requete footer,
body.iframeseqselect.path-requete .highlighted,
body.iframeseqselect.path-requete #tarteaucitronRoot,
body.iframeseqselect.path-requete #brevo-conversations {
  display: none !important;
}

body.iframeseqselect.path-requete {
  background-color: transparent;
}

/* Modale de confirmation après envoi. */
body.iframeseqselect.path-requete .messages__wrapper:has(.alert-success) {
  position: relative;
}

body.iframeseqselect.path-requete .messages__wrapper:has(.alert-success)::before {
  backdrop-filter: blur(5px);
  background: #0000005e;
  content: '';
  display: block;
  height: 100%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 998;
}

body.iframeseqselect.path-requete .messages__wrapper:has(.alert-success) .alert.alert-success.alert-dismissible {
  align-items: flex-start;
  background: #fff;
  display: flex;
  flex-direction: row-reverse;
  font-size: 20px;
  gap: 1em;
  justify-content: space-around;
  left: 50%;
  min-width: 280px;
  padding: 1.2em;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
}

body.iframeseqselect.path-requete .messages__wrapper:has(.alert-success) .alert .close {
  opacity: 0.8;
  right: unset;
  top: unset;
}

body.iframeseqselect.path-requete .messages__wrapper:has(.alert-success) .alert-home p:first-child {
  align-items: center;
  display: flex;
  gap: 1em;
  margin-top: 0.5em;
}

body.iframeseqselect.path-requete .messages__wrapper:has(.alert-success) .alert-home p em {
  font-size: 0.8em;
}

body.iframeseqselect.path-requete .messages__wrapper:has(.alert-success) .alert-home p a {
  background-color: var(--ro-color-primary, #325a7d);
  color: #fff;
  font-size: 0.7em;
  padding: 0.5em 0.8em;
  text-decoration: none;
}

body.iframeseqselect.path-requete .messages__wrapper:has(.alert-success) .alert-home::before {
  background-image: url('/themes/seq_bootstrap/img/illu-textbox.png');
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  display: inline-block;
  filter: invert(54%) sepia(79%) saturate(327%) hue-rotate(72deg) brightness(90%) contrast(86%);
  height: 25px;
  width: 25px;
}
