/* v1.3 Modal styles (Author: Teddy) */
.etm-modal-open { overflow: hidden; }
.etm-modal-wrapper { position: fixed; inset: 0; z-index: 9999; display: none; }
.etm-modal-wrapper.is-open { display: block; }
.etm-modal__overlay { position: absolute; inset: 0; backdrop-filter: blur(1px); }
.etm-modal__content {
  position: relative; margin: 5vh auto; background: #fff; color: #222;
  border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); overflow: hidden; max-width: 700px;
}
.etm-modal__inner { padding: 24px; }
.etm-modal__title { margin: 0 0 12px; font: 600 18px/1.2 system-ui, -apple-system, Segoe UI, Inter, Roboto, sans-serif; }
.etm-modal__close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; }
.etm--mobile-full .etm-modal__content{ margin:0; width:100vw; max-width:100vw!important; height:100vh; border-radius:0!important; }
.etm--mobile-full .etm-modal__inner{ padding:18px; height:calc(100vh - 40px); overflow:auto; }
@media (max-width: 767px){ .etm-modal__inner { padding: 18px; } }
