/**
 * ============================================================
 * StockMVP - Login
 * ============================================================
 * Único CSS do projeto que estiliza tags soltas (button, input, a,
 * h1, p, span) sem usar classes. Isso é seguro aqui porque login.css
 * só é carregado nesta página — não existe risco de vazar estilo
 * para outras telas do sistema.
 * ============================================================
 */

body {
  background: var(--color-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-body);
  height: 100vh;
  overflow: hidden;
}

h1 { font-weight: bold; margin: 0; font-family: var(--font-display); }

p {
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: 0.5px;
  margin: 20px 0 30px;
}

span { font-size: 12px; color: var(--color-text-muted); }

a {
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 15px 0;
}

button {
  border-radius: 20px;
  border: 1px solid transparent;
  background: var(--gradient-primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in, filter 0.2s ease;
  cursor: pointer;
  margin-top: 10px;
}
button:hover { filter: brightness(1.08); }
button:active { transform: scale(0.95); }
button:focus { outline: none; }

form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

input {
  background-color: var(--color-surface-alt);
  border: none;
  padding: 12px 15px;
  margin: 8px 0;
  width: 100%;
  color: var(--color-text);
  border-radius: var(--radius-sm);
}

.login-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 50px;
  width: 400px;
  max-width: 100%;
}

/* --- BOTÃO DE TEMA, FLUTUANTE NO CANTO DA TELA --- */
.theme-toggle-floating {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 200;
}
