.login-page {
  min-height: calc(100vh - var(--tab-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 40px;
  background:
    radial-gradient(circle at top, rgba(0, 170, 255, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
}

.login-shell {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(8, 16, 27, 0.82);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.login-visual {
  position: relative;
  padding: 48px 36px;
  background:
    linear-gradient(135deg, rgba(0, 170, 255, 0.18), rgba(216, 195, 155, 0.14)),
    linear-gradient(180deg, rgba(7, 18, 30, 0.7), rgba(3, 8, 15, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
}

.login-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.05) 45%, transparent 100%);
}

.brand-block,
.login-visual p {
  position: relative;
  z-index: 1;
}

.brand-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--color-secondary);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

.brand-block h1 {
  font-family: var(--font-family-Name);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin: 0;
}

.login-visual p {
  margin-top: 20px;
  max-width: 36ch;
  color: rgba(232, 244, 255, 0.8);
  line-height: 1.6;
}

.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 36px;
  background: rgba(8, 16, 27, 0.96);
}

.login-header {
  margin-bottom: 28px;
}

.login-header h2 {
  font-family: var(--font-family-Name);
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  color: var(--white);
  margin-bottom: 8px;
}

.login-header p {
  color: rgba(232, 244, 255, 0.68);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.field span {
  color: rgba(232, 244, 255, 0.8);
  font-size: 0.82rem;
}

.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: rgba(0, 170, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.15);
}

.login-error {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 94, 94, 0.12);
  border: 1px solid rgba(255, 94, 94, 0.35);
  color: #ffd1d1;
  font-size: 0.9rem;
}

.login-button {
  margin-top: 10px;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.9), rgba(0, 105, 188, 0.95));
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 26px rgba(0, 170, 255, 0.22);
}

.login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 170, 255, 0.28);
}

@media (max-width: 768px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-visual {
    min-height: 240px;
    padding: 32px 24px;
  }

  .login-form {
    padding: 28px 24px 32px;
  }
}
