.protectedpages-form-wrap {
  max-width: 420px;
  margin: 1.5rem auto;
}

.protectedpages-form {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(14, 68, 116, .18);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(10, 42, 80, .16);
  padding: 1.35rem;
  color: #123a61;
}

.protectedpages-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 1rem;
  color: #123a61;
}

.protectedpages-label {
  display: block;
  margin: 0 0 .35rem;
  font-weight: 600;
}

.protectedpages-password {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(14, 68, 116, .28);
  border-radius: 12px;
  padding: .85rem .95rem;
  font-size: 1rem;
  outline: none;
}

.protectedpages-password:focus {
  border-color: #1b73c9;
  box-shadow: 0 0 0 4px rgba(27,115,201,.13);
}

.protectedpages-submit {
  margin-top: 1rem;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: .85rem 1rem;
  background: linear-gradient(135deg, #0b4a7d, #1f78c8);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.protectedpages-submit:disabled,
.protectedpages-password:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.protectedpages-message {
  margin: 0 0 .9rem;
  padding: .75rem .85rem;
  border-radius: 10px;
  font-size: .95rem;
}

.protectedpages-error {
  background: #fff1f1;
  color: #9d1d1d;
  border: 1px solid rgba(157,29,29,.18);
}

.protectedpages-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.protectedpages-modal {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.protectedpages-modal.is-hidden {
  display: none;
}

.protectedpages-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 25, 45, .45);
  backdrop-filter: blur(4px);
}

.protectedpages-modal-box {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
}

.protectedpages-modal .protectedpages-form-wrap {
  margin: 0;
  max-width: none;
}

.protectedpages-modal-close {
  position: absolute;
  z-index: 2;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #123a61;
  box-shadow: 0 8px 25px rgba(0,0,0,.18);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.protectedpages-login-content {
  width: min(980px, calc(100% - 2rem));
  margin: 2rem auto;
  padding: 1rem;
  box-sizing: border-box;
}

.protectedpages-login-content .protectedpages-form-wrap {
  margin-left: 0;
  margin-right: auto;
}
