.ee-screenshot-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ee-screenshot-modal[hidden] {
  display: none;
}

.ee-screenshot-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
}

.ee-screenshot-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 72rem);
  max-height: calc(100vh - 3rem);
  overflow: auto;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
}

.ee-screenshot-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  color: #334155;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ee-screenshot-modal__close:hover {
  background: #006a68;
  color: #fff;
}

.ee-screenshot-modal__close .material-symbols-outlined {
  font-size: 1.5rem;
  line-height: 1;
}

.ee-screenshot-modal__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

body.ee-screenshot-modal-open {
  overflow: hidden;
}
