:root {
  /* Paleta DS3 essencial para o login */
  --ds3-blue-dark: #004b87;
  --ds3-blue: #006fba;
  --ds3-border: #dde4ee;
  --ds3-shadow: 0 6px 18px rgba(0,0,0,0.06);
  --ds3-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

/* LOGIN – TELA INICIAL */

body.login-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #f0f6ff 0, #edf2f7 45%, #e5ecf5 100%);
  font-family: var(--ds3-font);
}

.login-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--ds3-shadow);
  width: 100%;
  max-width: 420px;
  padding: 32px 32px 28px;
}

.login-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.login-header img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.login-header h1 {
  font-size: 20px;
  margin: 0;
  font-weight: 700;
  color: var(--ds3-blue-dark);
}

.login-header .brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

.login-subtitle {
  font-size: 10px;
  font-style: italic;
  color: #1f3c88;
  margin-top: 10px;
  margin-bottom: 25px;
  line-height: 1.3;
  white-space: nowrap;
  transform: scale(0.95);
  transform-origin: left;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  color: #4b5563;
}

.input {
  width: 100%;
  padding: 10px 11px;
  border-radius: 8px;
  border: 1px solid var(--ds3-border);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.input:focus {
  border-color: var(--ds3-blue);
  box-shadow: 0 0 0 1px rgba(0, 111, 186, 0.2);
}

.button-primary {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--ds3-blue-dark), var(--ds3-blue));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.05s ease-out, box-shadow 0.1s ease-out, opacity 0.15s;
  box-shadow: 0 4px 10px rgba(0, 79, 150, 0.25);
}

.button-primary:hover {
  opacity: 0.95;
}

.button-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 79, 150, 0.3);
}

#msg {
  font-size: 12px;
  margin-top: 8px;
}
