html, body {
  height: 100%;
}

#pw-gate {
  min-height: 100vh;
  max-width: 360px;
  margin: 0 auto;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.pw-lock-icon {
  image-rendering: auto;
  shape-rendering: geometricPrecision;
}

.pw-title {
  margin-top: 12px;
  font-family: Manrope;
  font-weight: 600;
  font-size: 30px;
  line-height: 38px;
  text-align: center;
  color: #101828;
}

.pw-sub {
  font-family: Manrope;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #475467;
}

.pw-enter {
  margin-top: 12px;
  font-family: Manrope;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #344054;
  align-self: flex-start;
}

.pw-error {
  color: #F04438;
  font-size: 14px;
  margin-top: -6px;
  text-align: left;
}

.pw-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  text-align: left;
  margin-bottom: 6px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: -webkit-fill-available;
  border: none;
}

.pw-input {
  height: 24px;
  border: 1px solid #D0D5DD;
  border-radius: 4px;
  padding: 8px 12px;
  display: block;
  width: calc(100% - 24px);
  margin: 0;
  font-family: Manrope;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  -webkit-appearance: none;
}
.pw-input::placeholder {
  font-weight: 400;
  font-size: 16px;
  color: #98A2B3;
}
.pw-input:focus-visible {
  outline: none;
  border-color: #F9AB77;
  box-shadow: 0px 0px 0px 4px #FDDBC4, 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.pw-input.input-validation-error {
  background: none;
  border: 1px solid #FDA29B;
  background-image: url("/utils/icons/alert-circle.svg");
  background-repeat: no-repeat;
  background-position-x: calc(100% - 12px);
  background-position-y: center;
  background-size: 16px 16px;
  padding-right: 20px;
}
.pw-input.input-validation-error:focus-visible {
  outline: none;
  border-color: #FDA29B;
  box-shadow: 0px 0px 0px 4px #FEE4E2, 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
@media (max-width: 768px) {
  .pw-input {
    font-size: 14px;
  }
}

.pw-btn {
  margin-top: 18px;
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #F47721;
  border-radius: 4px;
  background: #F47721;
  color: #fff;
  font-family: Manrope;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.pw-btn:hover {
  background: #F46E15;
}
.pw-btn:focus-visible {
  outline: none;
  border-color: #F9AB77;
  box-shadow: 0px 0px 0px 4px #FDDBC4, 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.pw-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}