/* Presentation is stored in Elementor; this file controls the dialog shell. */
dialog.visak-widget-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(760px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100vh - 64px);
  max-height: calc(100dvh - 64px);
  height: auto;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  overflow: hidden;
  box-shadow: 0 24px 100px #0009;
  color-scheme: dark;
  -webkit-user-select: text;
  user-select: text;
}
dialog.visak-widget-dialog:not([open]) { display: none; }
dialog.visak-widget-dialog[open] { display: flex; flex-direction: column; animation: visak-widget-enter .2s ease-out; }
dialog.visak-widget-dialog::backdrop { background: rgb(0 0 0 / 72%); backdrop-filter: blur(5px); }
.visak-widget-dialog > .visak-privacy-content { flex: 1 1 auto; min-height: 0; max-height: inherit; overflow: hidden; }
.visak-widget-dialog .visak-privacy-header,
.visak-widget-dialog .visak-privacy-footer { flex: 0 0 auto; }
.visak-widget-dialog .visak-privacy-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  overflow-wrap: anywhere;
  scrollbar-width: thin;
  scrollbar-color: #5e666c transparent;
}
.visak-widget-dialog #visak-privacy-title .elementor-heading-title:focus { outline: none; }
.visak-widget-dialog a:focus-visible { outline: 2px solid #67ddcc; outline-offset: 4px; }
.visak-widget-dialog .visak-privacy-close-icon .elementor-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
}
.visak-widget-dialog .visak-privacy-body a { color: #67ddcc; text-decoration: underline; text-underline-offset: 3px; }
/* Keep the underline when Elementor's .elementor a reset loads after this file. */
a[href="#contact-form-privacy-notice"],
.elementor a[href="#contact-form-privacy-notice"] { text-decoration: underline; text-underline-offset: 3px; }
html.visak-privacy-is-open { overflow: hidden !important; scrollbar-gutter: stable; }
html.visak-privacy-is-open body { overflow: hidden !important; }
@keyframes visak-widget-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px) {
  dialog.visak-widget-dialog {
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  dialog.visak-widget-dialog[open] { animation: none; }
}
