/* ========================================================================
   === LOGIN PAGE STYLE (isolado do sistema principal) ===
   ======================================================================== */

/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ===== BASE ===== */
body {
  background-color: #1a1a1a;
  color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

/* ===== CONTAINER ===== */
.login-container {
  background-color: #2a2a2a;
  padding: 2.5rem 3rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.login-logo {
  width: 130px;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: #bbb;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ===== FORM ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ===== CAMPOS DE ENTRADA (versão aprimorada) ===== */
input {
  background: #252525;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  color: #fff;
  padding: 12px 14px;
  font-size: 0.95rem;
  width: 100%;
  transition: all 0.2s ease;
}

input::placeholder {
  color: #777;
}

input:focus {
  outline: none;
  border-color: #007bff;
  background-color: #2f2f2f;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* ===== ENVOLVENDO SENHA + OLHO ===== */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.toggle-password {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.toggle-password:hover {
  transform: scale(1.08);
}

.toggle-password svg {
  stroke: #aaa;
  transition: stroke 0.2s ease;
}

.toggle-password:hover svg {
  stroke: #fff;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.toggle-password {
  background: none;
  border: none;
  position: absolute;
  right: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.toggle-password svg {
  stroke: #aaa;
  transition: stroke 0.2s ease;
}

.toggle-password:hover svg {
  stroke: #fff;
}

/* ===== BOTÃO ENTRAR ===== */
#btn-login {
  background-color: #007bff;
  border: none;
  border-radius: 6px;
  color: white;
  padding: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.1s ease;
}

#btn-login:hover {
  background-color: #0056b3;
  transform: scale(1.03);
}

/* ===== ERRO ===== */
.error-message {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 0.8rem;
  min-height: 1.2rem;
}

/* ===== FOOTER ===== */
footer {
  position: fixed;
  bottom: 10px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  font-size: 0.85rem;
  color: #888;
}
