/* ===============================
   RESET BÁSICO
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ===============================
   BACKGROUND GERAL
================================ */
.login-page {
  min-height: 100vh;
  background-color: #f4f6f8; /* Mesmo fundo neutro dos relatórios */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.versao{
  margin-top: 4vh;
  font-size: 0.7rem;
}

/* ===============================
   CARD TIPO DOCUMENTO
================================ */
.login-card {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border-radius: 4px; /* Quinas afiadas, estritamente corporativo */
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 40px 30px;
}

/* ===============================
   TÍTULO & MENSAGENS
================================ */
.login-title {
  text-align: center;
  color: #0f172a;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.erro {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #f87171;
  padding: 12px;
  border-radius: 4px;
  font-size: 13px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

/* ===============================
   FORM & INPUTS
================================ */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
}

.input-field {
  height: 44px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  padding: 0 14px;
  outline: none;
  transition: border-color 0.2s;
}

.input-field::placeholder {
  color: #94a3b8;
}

.input-field:focus {
  border-color: #3b82f6;
  background: #fff;
}

/* ===============================
   BOTÃO PRIMÁRIO
================================ */
.login-button {
  margin-top: 10px;
  height: 6vh;
  width: 60%;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  border: none;
  background: #7e7e7e;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
}

.cadastro-button{
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.8rem;
  color:#0f172a;
  transition: 0.2s;
}

.cadastro-button:hover{
  text-decoration: underline;
  opacity: 0.8;
}

.esqueci{
  text-align: right;
}

.login-btn-container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 60%;
  margin: 0 auto;
}

.login-button:hover {
  opacity: 0.9;
}