.portal-auth-locked {
  min-height: 100vh;
  background: #102324;
}

.portal-auth-locked > header,
.portal-auth-locked > main,
.portal-auth-locked > footer,
.portal-auth-locked > .toast {
  visibility: hidden;
  pointer-events: none;
}

.portal-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(16, 35, 36, 0.92), rgba(12, 95, 97, 0.76)),
    rgba(16, 35, 36, 0.84);
  backdrop-filter: blur(14px);
}

.portal-auth-overlay[hidden] {
  display: none;
}

.portal-auth-card {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(440px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  padding: 26px;
}

.portal-auth-card h2 {
  margin: 0;
  color: #102021;
  font-size: 30px;
  line-height: 1.14;
}

.portal-auth-card p {
  margin: 0;
  color: #647575;
  line-height: 1.65;
}

.portal-auth-preset {
  display: grid;
  gap: 4px;
  border: 1px solid #dce5e2;
  border-radius: 8px;
  background: #f4f0e6;
  color: #385151;
  padding: 12px;
  font-size: 13px;
  line-height: 1.55;
}

.portal-auth-preset strong {
  color: #102021;
}

.portal-auth-form {
  display: grid;
  gap: 12px;
}

.portal-auth-form label {
  display: grid;
  gap: 7px;
  color: #385151;
  font-size: 12px;
  font-weight: 850;
}

.portal-auth-form input {
  width: 100%;
  border: 1px solid #dce5e2;
  border-radius: 8px;
  background: #fff;
  color: #102021;
  padding: 12px 13px;
  outline: none;
  font: inherit;
}

.portal-auth-form input:focus {
  border-color: #0c5f61;
  box-shadow: 0 0 0 4px rgba(12, 95, 97, 0.12);
}

.portal-auth-form button,
.portal-auth-close {
  cursor: pointer;
  font: inherit;
}

.portal-auth-form button {
  border: 0;
  border-radius: 8px;
  background: #0c5f61;
  color: #fff;
  padding: 13px 14px;
  font-weight: 850;
}

.portal-auth-error {
  min-height: 20px;
  color: #d9654f !important;
  font-size: 13px;
  font-weight: 800;
}

.portal-auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #dce5e2;
  border-radius: 50%;
  background: #fff;
  color: #102021;
  font-size: 22px;
}
