/* Login desktop — layout split (estilo painel / branding) */

.login-page {
  --login-bg: #f4f3eb;
  --login-hero: #0f2f22;
  --login-hero-mid: #163a2c;
  --login-accent: #4c9766;
  --login-accent-hover: #3f8256;
  --login-text: #1a1f2c;
  --login-muted: #6d7380;
  --login-border: #e4e2d6;
  --login-radius: 24px;

  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background: var(--login-bg);
  font-family: var(--nb-font);
}

.login-shell {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--login-radius);
  overflow: hidden;
  background: #fffef8;
  box-shadow: 0 18px 50px rgba(15, 47, 34, 0.12);
}

.login-hero {
  position: relative;
  background: linear-gradient(160deg, var(--login-hero) 0%, var(--login-hero-mid) 55%, #1b4a38 100%);
  color: #fff;
  padding: 2.4rem 2.1rem;
  min-height: 460px;
  overflow: hidden;
}

.login-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.login-hero-orb-tr {
  width: 220px;
  height: 220px;
  top: -70px;
  right: -60px;
  background: radial-gradient(circle, rgba(120, 190, 150, 0.35) 0%, transparent 70%);
}

.login-hero-orb-bl {
  width: 260px;
  height: 260px;
  bottom: -100px;
  left: -80px;
  background: radial-gradient(circle, rgba(90, 170, 130, 0.28) 0%, transparent 70%);
}

.login-hero-content {
  position: relative;
  z-index: 1;
  max-width: 280px;
}

.login-hero-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(10, 28, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.35rem;
}

.login-hero-title {
  margin: 0 0 0.65rem;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.login-hero-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.login-panel {
  background: #fffef8;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-panel-title {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--login-text);
  letter-spacing: -0.02em;
}

.login-panel-sub {
  margin: 0.35rem 0 1.15rem;
  color: var(--login-muted);
  font-size: 0.95rem;
}

.login-alert {
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  margin-bottom: 1.15rem;
}

.login-alert-info,
.login-alert-erro {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.login-field span {
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
}

.login-field input {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--login-border);
  border-radius: 10px;
  background: #fff;
  color: var(--login-text);
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-field input::placeholder {
  color: #9ca3af;
}

.login-field input:focus {
  border-color: var(--login-accent);
  box-shadow: 0 0 0 3px rgba(76, 151, 102, 0.18);
}

.login-submit {
  margin-top: 0.35rem;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, #5aa872 0%, var(--login-accent) 100%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(63, 130, 86, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.login-submit:hover {
  background: linear-gradient(180deg, #63b37c 0%, var(--login-accent-hover) 100%);
  box-shadow: 0 4px 12px rgba(63, 130, 86, 0.28);
}

.login-submit:active {
  transform: translateY(1px);
}
