.public-login {
  min-height: 100dvh;
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(59, 130, 246, 0.12), transparent 65%),
    radial-gradient(640px 300px at 90% 100%, rgba(2, 132, 199, 0.10), transparent 65%),
    #eef3f8;
}

.public-login .content {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.login-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 22px 14px;
}

.auth-panel {
  width: 100%;
  max-width: 500px;
  background: #fff;
  border: 1px solid #d7e3f0;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  padding: 30px 28px 22px;
}

.auth-head {
  text-align: center;
  margin-bottom: 18px;
}

.auth-logo {
  width: 250px;
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.auth-tag {
  margin: 0 0 8px;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.auth-title {
  margin: 0 0 7px;
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
}

.auth-sub {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

.field {
  margin-bottom: 14px;
}

.label {
  display: block;
  margin-bottom: 6px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
}

.control {
  position: relative;
}

.prefix,
.suffix {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}

.prefix {
  left: 12px;
}

.suffix {
  right: 10px;
}

.icon {
  width: 18px;
  height: 18px;
}

.control input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  padding: 11px 38px;
  font-size: 0.95rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.control input:focus {
  outline: 0;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.toggle-btn {
  border: 0;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.submit-btn {
  width: 100%;
  border: 0;
  border-radius: 11px;
  background: #1d4ed8;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 14px;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.submit-btn:hover {
  background: #1e40af;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.info,
.notice,
.error {
  margin-top: 10px;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.86rem;
}

.info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.notice {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.notice-icon {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 1px;
}

.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.auth-foot {
  margin-top: 14px;
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
}

@media (max-width: 520px) {
  .login-shell {
    padding: 12px;
  }

  .auth-panel {
    border-radius: 12px;
    padding: 22px 16px 16px;
  }

  .auth-logo {
    width: 200px;
  }

  .auth-title {
    font-size: 1.22rem;
  }
}
