* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f1f5f9;
  color: #0e2746;
  font-family: system-ui, sans-serif;
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: white;
  border: 1px solid #dbe4ef;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 16px 50px #0e274612;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #147b56;
}
h1 {
  font-size: 26px;
  margin: 16px 0 8px;
}
p {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}
label {
  display: block;
  font-weight: 600;
  margin: 24px 0 8px;
}
input,
button {
  width: 100%;
  border-radius: 8px;
  font: inherit;
  padding: 12px;
}
input {
  border: 1px solid #94a3b8;
}
input:focus-visible,
button:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}
button {
  border: 0;
  background: #0e2746;
  color: white;
  margin-top: 20px;
  cursor: pointer;
  font-weight: 700;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
#login-message {
  min-height: 24px;
  color: #b91c1c;
  margin-bottom: 0;
}
/* Acesso com a mesma linguagem visual do espaço de trabalho. */
body {
  background:
    radial-gradient(ellipse at 10% 0%, #dceee5, transparent 55%),
    radial-gradient(ellipse at 100% 100%, #dde8f1, transparent 55%), #f3f6f8;
  line-height: 1.6;
}
.login-card {
  max-width: 440px;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 24px 80px #18384d12;
  border-color: #dae5e9;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  letter-spacing: -0.3px;
  color: #164532;
}
.brand img {
  width: 64px;
  height: auto;
  flex-shrink: 0;
}
.brand { font-size: 26px; font-weight: 700; color: #0b2545; }

h1 {
  font-size: 28px;
  letter-spacing: -0.8px;
  margin-top: 30px;
  line-height: 1.25;
}
#login-description {
  margin-bottom: 26px;
}
label {
  font-size: 13px;
  color: #3e5668;
  margin-top: 20px;
}
input {
  min-height: 48px;
  border-radius: 10px;
  border-color: #bdcdd9;
  background: #fcfefe;
  font-size: 16px;
}
button {
  min-height: 48px;
  background: #167455;
  border-radius: 10px;
  box-shadow: 0 4px 12px #16745520;
  font-size: 14px;
  transition: background 0.15s;
}
button:hover {
  background: #105c43;
}
#login-message {
  font-size: 13px;
}
@media (max-width: 480px) {
  body {
    padding: 18px;
  }
  .login-card {
    padding: 28px 24px;
  }
  h1 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }
}
