/* Popup control hotfix: single clean close icon + never show synthetic calendar rows. */

.ec-row[data-event-id^="local_"] {
  display: none !important;
}

.ec-popup-topbar .ec-drawer-close {
  display: inline-grid !important;
  place-items: center !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border: 1px solid rgba(148,163,184,.14) !important;
  border-radius: 12px !important;
  color: #8e9aa8 !important;
  background: rgba(255,255,255,.018) !important;
  box-shadow: none !important;
}

.ec-popup-topbar .ec-drawer-close span {
  display: none !important;
}

.ec-popup-topbar .ec-drawer-close svg {
  display: block !important;
  width: 19px !important;
  height: 19px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: currentColor !important;
  background: transparent !important;
  box-shadow: none !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.ec-popup-topbar .ec-drawer-close:hover,
.ec-popup-topbar .ec-drawer-close:focus-visible {
  color: #f4d76b !important;
  border-color: rgba(244,190,24,.28) !important;
  background: rgba(244,190,24,.055) !important;
}

.ec-popup-quick-alert.is-loading {
  opacity: .7;
  pointer-events: none;
}

.ec-live-only-empty {
  margin: 12px 0;
  padding: 18px;
  border: 1px solid rgba(148,163,184,.10);
  border-radius: 14px;
  color: #8794a3;
  background: rgba(9,14,21,.86);
  text-align: center;
  font-size: 11px;
}

@media (max-width: 760px) {
  .ec-popup-topbar .ec-drawer-close {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  .ec-popup-topbar .ec-drawer-close svg {
    width: 20px !important;
    height: 20px !important;
  }
}