.wc-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-y: auto;
  color: #17211d;
  background: rgba(14, 25, 21, 0.74);
}

.wc-gate[hidden] {
  display: none;
}

.wc-gate__panel {
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid #d8e3df;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.wc-gate__kicker {
  margin: 0 0 8px;
  color: #0d5f4d;
  font-size: 0.9rem;
  font-weight: 760;
}

.wc-gate h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.wc-gate__copy {
  margin: 10px 0 18px;
  color: #43514c;
  line-height: 1.65;
}

.wc-gate__form {
  display: grid;
  gap: 12px;
}

.wc-gate__field {
  display: grid;
  gap: 7px;
  color: #43514c;
  font-weight: 720;
}

.wc-gate__field input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #bdcbc6;
  border-radius: 8px;
  color: #17211d;
  background: #ffffff;
  font: inherit;
}

.wc-gate__field input:focus-visible,
.wc-gate__submit:focus-visible,
.wc-gate__switch:focus-visible {
  outline: 3px solid rgba(20, 122, 100, 0.3);
  outline-offset: 3px;
}

.wc-gate__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #147a64;
  border-radius: 8px;
  color: #ffffff;
  background: #147a64;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.wc-gate__submit:disabled {
  cursor: default;
  opacity: 0.72;
}

.wc-gate__switch {
  width: fit-content;
  min-height: 36px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  color: #0d5f4d;
  background: transparent;
  font: inherit;
  font-weight: 740;
  cursor: pointer;
}

.wc-gate__status {
  min-height: 1.45em;
  margin: 0;
  color: #9b6b18;
  font-size: 0.92rem;
  line-height: 1.45;
}

body.wc-gate-locked {
  overflow: hidden;
}

@media (max-width: 520px) {
  .wc-gate {
    align-items: stretch;
    padding: 0;
  }

  .wc-gate__panel {
    min-height: 100%;
    border-radius: 0;
  }
}
