:root {
  --pb-bg: #020605;
  --pb-panel: #050a07;
  --pb-line: #12251a;
  --pb-line2: #1a3b27;
  --pb-text: #e9fff0;
  --pb-muted: #73867a;
  --pb-green: #00ff88;
  --pb-glow: rgba(0,255,136,.22);
}

.pb-login-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(0,255,136,.055), transparent 32%),
    radial-gradient(circle at 85% 75%, rgba(0,255,136,.035), transparent 30%),
    var(--pb-bg);
  color: var(--pb-text);
  font-family: "Space Mono", monospace;
  position: relative;
  overflow: hidden;
}

.pb-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(255,255,255,.15) 3px
  );
}

.pb-login-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 32px;
  position: relative;
  z-index: 1;
}

.pb-eyebrow {
  color: var(--pb-muted);
  font-size: 11px;
  letter-spacing: .16em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.pb-eyebrow span {
  color: var(--pb-green);
  margin-right: 10px;
}

.pb-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--pb-line2);
  background: rgba(3,8,5,.72);
  box-shadow: 0 0 45px rgba(0,255,136,.035);
}

.pb-login-intro {
  padding: 58px 52px;
  border-right: 1px solid var(--pb-line2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pb-status {
  color: var(--pb-green);
  font-size: 10px;
  letter-spacing: .12em;
  margin-bottom: 26px;
}

.pb-status i,
.pb-security-footer i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pb-green);
  box-shadow: 0 0 10px var(--pb-green);
  margin-right: 9px;
}

.pb-login-intro h1 {
  margin: 0 0 22px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 700;
}

.pb-login-intro h1 span {
  color: var(--pb-green);
  text-shadow: 0 0 25px var(--pb-glow);
}

.pb-lead {
  max-width: 520px;
  color: #9caea3;
  font-size: 13px;
  line-height: 1.85;
  margin: 0 0 34px;
}

.pb-terminal-mini {
  border: 1px solid var(--pb-line2);
  background: #020604;
  margin-bottom: 28px;
}

.pb-terminal-head {
  padding: 11px 14px;
  border-bottom: 1px solid var(--pb-line);
  color: var(--pb-muted);
  font-size: 9px;
  letter-spacing: .1em;
}

.pb-terminal-body {
  padding: 15px;
  color: #809489;
  font-size: 10px;
  line-height: 2;
}

.pb-terminal-body .ok {
  color: #62d99d;
}

.pb-terminal-body .cursor {
  color: var(--pb-green);
  animation: pb-blink 1s steps(1) infinite;
}

.pb-security-note {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  border-top: 1px solid var(--pb-line);
  padding-top: 22px;
}

.pb-security-note > span {
  color: var(--pb-green);
  font-size: 18px;
}

.pb-security-note strong {
  font-size: 10px;
  letter-spacing: .1em;
}

.pb-security-note p {
  margin: 7px 0 0;
  color: var(--pb-muted);
  font-size: 9px;
  line-height: 1.6;
}

.pb-login-panel {
  padding: 48px;
  background: rgba(5,10,7,.78);
}

.pb-form-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--pb-line);
}

.pb-form-top small {
  color: var(--pb-green);
  font-size: 9px;
  letter-spacing: .14em;
}

.pb-form-top h2 {
  margin: 9px 0 0;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.pb-live-dot {
  color: var(--pb-green);
  border: 1px solid #1d5135;
  padding: 7px 9px;
  font-size: 8px;
  letter-spacing: .1em;
  white-space: nowrap;
}

.pb-auth-message,
.pb-error,
.pb-success {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 15px;
  border: 1px solid var(--pb-line2);
  background: rgba(0,255,136,.025);
}

.pb-auth-icon {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #23583c;
  color: var(--pb-green);
  font-size: 9px;
}

.pb-auth-message strong,
.pb-error strong,
.pb-success strong {
  display: block;
  font-size: 10px;
  letter-spacing: .06em;
}

.pb-auth-message p,
.pb-error p,
.pb-success p {
  color: var(--pb-muted);
  margin: 6px 0 0;
  font-size: 9px;
  line-height: 1.65;
}

.pb-error {
  border-color: #4c2929;
  background: rgba(255,70,70,.035);
}

.pb-error > span {
  color: #ff7777;
  font-size: 18px;
  line-height: 1;
}

.pb-success {
  border-color: #1d5135;
  background: rgba(0,255,136,.04);
}

.pb-success > span {
  color: var(--pb-green);
  font-size: 17px;
  line-height: 1;
}

.pb-login-form {
  margin-top: 27px;
}

.pb-form-section {
  border-top: 1px solid var(--pb-line);
  padding-top: 23px;
}

.pb-section-label {
  color: var(--pb-muted);
  font-size: 9px;
  letter-spacing: .12em;
  margin-bottom: 17px;
}

.pb-code-field label {
  display: block;
  color: #c8d8ce;
  font-size: 10px;
  margin-bottom: 9px;
}

.pb-code-input {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  border: 1px solid #1b3927 !important;
  outline: none;
  background: #020604 !important;
  color: var(--pb-text) !important;
  padding: 0 15px;
  font-family: "Space Mono", monospace;
  font-size: 13px;
  border-radius: 0;
  transition: .2s ease;
}

.pb-code-input:focus {
  border-color: var(--pb-green) !important;
  box-shadow: 0 0 0 2px rgba(0,255,136,.07), 0 0 22px rgba(0,255,136,.09);
}

.pb-text-input {
  letter-spacing: 0;
}

.pb-code-input::placeholder {
  color: #405046 !important;
}

.pb-code-field small {
  display: block;
  color: #56675d;
  font-size: 8px;
  margin-top: 8px;
}

.pb-captcha-wrap {
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid var(--pb-line);
}

.pb-captcha-wrap table {
  width: 100%;
}

.pb-captcha-wrap td {
  color: #9caea3;
  font-family: "Space Mono", monospace;
  font-size: 9px;
}

.pb-captcha-wrap input,
.pb-captcha-wrap select {
  max-width: 100%;
}

.pb-auth-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.pb-submit {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--pb-green);
  background: var(--pb-green);
  color: #001b0e;
  cursor: pointer;
  font: 700 10px "Space Mono", monospace;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  transition: .2s ease;
}

.pb-submit:hover {
  box-shadow: 0 0 28px rgba(0,255,136,.18);
  background: #55ffb2;
}

.pb-submit b {
  font-size: 17px;
  font-weight: 400;
}

.pb-security-footer {
  border-top: 1px solid var(--pb-line);
  margin-top: 27px;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  color: #526259;
  font-size: 8px;
  letter-spacing: .08em;
}

.pb-security-footer i {
  width: 5px;
  height: 5px;
  margin-right: 6px;
}

.pb-footer-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 2px 0;
  color: #405047;
  font-size: 8px;
  letter-spacing: .08em;
}

@keyframes pb-blink {
  50% { opacity: 0; }
}

@media (max-width: 850px) {
  .pb-login-wrap {
    width: min(720px, calc(100% - 28px));
    padding-top: 38px;
  }

  .pb-login-grid {
    grid-template-columns: 1fr;
  }

  .pb-login-intro {
    border-right: 0;
    border-bottom: 1px solid var(--pb-line2);
    padding: 38px 30px;
  }

  .pb-login-panel {
    padding: 32px 30px;
  }
}

@media (max-width: 580px) {
  .pb-login-wrap {
    width: calc(100% - 18px);
  }

  .pb-login-intro,
  .pb-login-panel {
    padding: 27px 20px;
  }

  .pb-login-intro h1 {
    font-size: 51px;
  }

  .pb-form-top {
    display: block;
  }

  .pb-live-dot {
    display: inline-block;
    margin-top: 15px;
  }

  .pb-footer-line {
    display: block;
    line-height: 1.8;
  }

  .pb-footer-line span {
    display: block;
  }

  .pb-footer-line span + span {
    margin-top: 4px;
  }
}