.screenshot-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1112;
  cursor: crosshair;
}
.screenshot-rect {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1111;
}

.screenshot-button {
  /* display: none; For testing in prod */
  /* justify-content: center;
  align-items: center;
  padding: 0.4rem;
  cursor: pointer;
  border-radius: 24px;
  transition: transform 0.3s;
  position: fixed;
  z-index: 1111;
  top: 15px;
  right: 115px;
  color: #196020; */
  width: 35px;
  height: 35px;
  display: flex;
  /* display: none; */
  justify-content: center;
  align-items: center;
  padding: 5px 5px 5px 5px;
  cursor: pointer;
  border-radius: 5px 0 0 5px;
  /* transition: transform 0.3s; */
  /* position: fixed; */
  z-index: 1111;
  /* top: 15px;
  right: 115px; */
  color: #196020;
  /* top: 40vh;
  right: 0px; */
  background: white;
  border: 1px solid #ccc;
  border-right: none;
  /* transition: all 0.3s ease-in-out; */
  /* transform: translate(0px, 0px); */
  /* transform: translate(0px, 0px); */
  opacity: 0.3;
  /* transform: translate(0px, 0px); */
}

.screenshot-button:hover {
  /* transform: scale(1.1); */
  /* background-color: rgba(25, 96, 32, 0.2); */
  background-color: white;

  /* transform: translate(-100px, 0px); */
  opacity: 0.2;
  /* padding: 5px 10px 5px 10px; */
}

.screenshot-button.ext {
  gap: 10px;
  /* right: -130px; */
  transition: all 0.3s ease-in-out;
  position: fixed;
  z-index: 1111;
  top: 40vh;
  right: 0px;
  font-size: 14px;
}

.screenshot-button.ext:hover {
  gap: 10px;
  right: 0;

  /* transform: translateX(100%); */
}

.popover {
  /* position: absolute; */
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  padding: 16px;
  z-index: 1111;
  /* position: fixed; */
  /* top: calc(40vh + 32.8px); */
  /* right: 0; */
  border-radius: 0px 0 0 6px;
}

.screenshot-panel {
  position: fixed;
  top: 40vh;
  right: 0px;
  z-index: 1111;
  display: flex;
  transition: all 0.3s ease-in-out;
  transform: translateX(calc(100% - 35px));
}

.screenshot-panel.panel-open {
  transform: translateX(0);
}

.screenshot-panel.panel-open .screenshot-button {
  opacity: 1;
  border-radius: 5px 0 0 5px;
  position: relative;
  left: 1px;
  z-index: 1112;
  border-right: none;
  width: 35px;
  height: 35px;
}

.screenshot-panel.panel-open .screenshot-button i {
  font-size: 14px;
}

.screenshot-panel.dark .popover,
.screenshot-panel.dark .screenshot-button {
  background-color: #141414;
  color: white;
  border: 1px solid #454545;
  border-right: none;
}

.screenshot-panel.panel-open .screenshot-button:hover {
  background-color: #e5f1e4;
}

.screenshot-panel.panel-open.dark .screenshot-button:hover {
  background-color: rgb(47, 47, 47);
}

.buttonsDiv {
  display: flex;
  /* flex-direction: row; */
  justify-content: center;
  gap: 8px;
}

.buttonsDiv > button,
.buttonsDiv button[disabled]:hover {
  border-radius: 4px;
  background-color: #196020;
  padding: 12px 14px;
  min-height: 2rem;
  color: white;
  border: none;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.49, 0.05, 0.1, 0.92);
  cursor: pointer;
  font-size: 18px;
  line-height: 1em;
}

.buttonsDiv > button:hover {
  background-color: black;
}

.buttonsDiv button[disabled] {
  /* background-color: gray; */
  opacity: 0.4;
  pointer-events: none;
}

.screenshot-status {
  text-align: center;
  font-weight: bold;
  margin: 5px auto 0;
  font-size: 12px;
  line-height: 14px;
}

.error-status {
  text-align: center;
  margin: 5px auto 0;
  font-size: 14px;
  line-height: 14px;
  color: red;
  max-width: 140px;
}
