.gev-recognition {
  box-sizing: border-box;
  margin-left: 50px;
  margin-right: 50px;
  text-align: center;
}

.gev-recognition__open {
  appearance: none;
  background: #0759d5;
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  font-weight: 700;
  padding: 0.8em 1.35em;
}

.gev-recognition__open:hover,
.gev-recognition__open:focus-visible {
  background: #0648ac;
}

.gev-recognition__open:focus-visible,
.gev-recognition__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.gev-recognition__overlay {
  align-items: center;
  background: #fff;
  cursor: pointer;
  display: flex;
  inset: 0;
  justify-content: center;
  margin: 0;
  position: fixed;
  z-index: 999999;
}

.gev-recognition__overlay[hidden] {
  display: none;
}

.gev-recognition__image {
  display: block;
  height: auto;
  max-height: 82vh;
  max-width: min(82vw, 900px);
  object-fit: contain;
  user-select: none;
  width: auto;
}

.gev-recognition__close {
  align-items: center;
  appearance: none;
  background: #0759d5;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2.5rem, 7vmin, 5rem);
  height: clamp(58px, 10vmin, 96px);
  justify-content: center;
  line-height: 1;
  padding: 0 0 0.08em;
  position: absolute;
  right: max(20px, env(safe-area-inset-right));
  top: max(20px, env(safe-area-inset-top));
  width: clamp(58px, 10vmin, 96px);
  z-index: 1;
}

.gev-recognition-is-open {
  overflow: hidden;
}

.gev-recognition--editor .gev-recognition__open {
  cursor: default;
  opacity: 1;
}

.gev-recognition__editor-help {
  color: #646970;
  font-size: 13px;
  margin: 10px 0 0;
}

@media (max-width: 500px) {
  .gev-recognition {
    margin-left: 20px;
    margin-right: 20px;
  }
}
