:root {
  --bg: #071526;
  --panel: #10283c;
  --panel-deep: #091b2d;
  --line: rgba(89, 177, 224, 0.25);
  --text: #edf6fd;
  --muted: #8faac0;
  --blue: #40b9e9;
  --blue-deep: #147ea9;
  --green: #25c77a;
  --danger: #f47082;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(360px, 480px);
}

.identity-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 6vw, 72px);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(45, 145, 190, 0.15), rgba(7, 21, 38, 0) 46%),
    repeating-linear-gradient(0deg, transparent 0, transparent 59px, rgba(97, 171, 208, 0.05) 60px),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(97, 171, 208, 0.05) 80px);
}

.identity-logo {
  width: min(220px, 45vw);
  max-height: 100px;
  object-fit: contain;
  object-position: left center;
}

.identity-copy h1 {
  max-width: 540px;
  margin: 12px 0;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.identity-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.identity-status {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: rgba(9, 27, 45, 0.75);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.status-light {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(37, 199, 122, 0.7);
}

.identity-status strong,
.identity-status small {
  display: block;
}

.identity-status small {
  margin-top: 4px;
  color: var(--muted);
}

.login-panel {
  display: flex;
  align-items: center;
  padding: clamp(28px, 5vw, 50px);
  background: var(--panel-deep);
}

.login-form {
  width: 100%;
}

.login-form header {
  margin-bottom: 38px;
}

.login-form h2 {
  margin: 9px 0 0;
  font-size: 28px;
  letter-spacing: 0;
}

.login-form label {
  display: block;
  margin: 22px 0 8px;
  color: #b8cedf;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.login-form input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  color: var(--text);
  font-size: 15px;
  outline: none;
}

.login-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(64, 185, 233, 0.13);
}

.login-error {
  min-height: 20px;
  margin: 18px 0 14px;
  color: var(--danger);
  font-size: 13px;
}

.login-form button {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 5px;
  background: var(--blue-deep);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.login-form button:hover,
.login-form button:focus-visible {
  background: #1894c5;
}

.login-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.restriction {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 780px) {
  .login-layout {
    grid-template-columns: 1fr;
  }

  .identity-panel {
    min-height: 280px;
    gap: 32px;
    padding: 28px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .identity-copy h1 {
    font-size: 32px;
  }

  .login-panel {
    padding: 34px 24px;
  }
}
