/* Shared close icon, including legacy controls with their existing event handlers. */
html body .leyve-modal-close {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 40px !important;
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  min-height:40px !important;
  max-width:40px !important;
  max-height:40px !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background:transparent !important;
  color:#4b5054 !important;
  box-shadow:none !important;
  opacity:1 !important;
  font-size:0 !important;
  line-height:1 !important;
  text-decoration:none !important;
  cursor:pointer !important;
  transition:background-color 120ms ease !important;
  transform:none !important;
  overflow:visible !important;
}
html body .leyve-modal-close-inline { position:relative !important; }
html body .leyve-modal-close > * { display:none !important; }
html body .leyve-modal-close::before,html body .leyve-modal-close::after {
  content:'' !important;
  display:block !important;
  position:absolute !important;
  inset:50% auto auto 50% !important;
  width:18px !important;
  height:1.6px !important;
  margin:0 !important;
  border:0 !important;
  background:currentColor !important;
  border-radius:1px !important;
  pointer-events:none !important;
  transform:translate(-50%,-50%) rotate(45deg) !important;
}
html body .leyve-modal-close::after { transform:translate(-50%,-50%) rotate(-45deg) !important; }
html body .leyve-modal-close:hover,html body .leyve-modal-close:focus-visible { background:#e3e7ea !important; }
html body .leyve-modal-close:focus-visible { outline:2px solid #176980 !important;outline-offset:2px !important; }
html body .leyve-modal-close:disabled { opacity:.45 !important;cursor:default !important; }
html body .leyve-modal-surface-relative { position:relative; }
html body .leyve-modal-close-added { position:absolute !important;right:12px !important;top:12px !important;z-index:5; }
.leyve-modal-surface > :is(h1,h2,h3,form:first-of-type > h2) { padding-right:48px; }
@media(prefers-reduced-motion:reduce){html body .leyve-modal-close{transition:none !important;}}
@media print{html body .leyve-modal-close{display:none !important;}}
