@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root {
  --bg-color: #1e2a3a;       /* Azul escuro de fundo */
  --accent-color: #f4c07a;   /* Bege inspirado na capivara */
  --text-color: #ffffff;
  --input-bg: #2c3e50;
  --input-border: #415a77;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.login-box {
  background-color: #263544;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.logo {
  width: 200px;
  margin-bottom: 20px;
}

h1 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--accent-color);
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background-color: var(--input-bg);
  color: var(--text-color);
  font-size: 1rem;
}

.input-group input::placeholder {
  color: #ccc;
}

.button-group {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: var(--accent-color);
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #e0a856;
}

.error-message {
    color: red;
    font-size: 0.875em;
    margin-top: 8px;
}


.link {
  color: rgb(253, 249, 249);              /* cor normal */
  text-decoration: none;     /* remove o sublinhado */
  font-weight: normal;       /* peso normal do texto */
}

.link:hover {
  color: rgb(236, 164, 9);            /* muda a cor ao passar o mouse */
  font-weight: bold;         /* deixa em negrito */
}