/* ====== RESET ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ====== BASE ====== */
body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(135deg, #f4f5f7 0%, #e9f4eb 100%); */
  background-color: #f9fffb;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ====== CONTAINER ====== */
.login-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 50px 40px;
  width: 90%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.5s ease;
}

/* ====== LOGO ====== */
.logo img {
  width: 200px;
  margin-bottom: 25px;
  user-select: none;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* ====== FORM ====== */
.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.login-form h2 {
  color: #1f7d2f;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.login-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: all 0.25s ease;
}

.login-form input:focus {
  border-color: #1f7d2f;
  box-shadow: 0 0 0 3px rgba(31, 125, 47, 0.15);
}

/* ====== BUTTON ====== */
.login-form button {
  background: #1f7d2f;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-form button:hover {
  background: #155a23;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(31, 125, 47, 0.25);
}

/* ====== ERROR ====== */
.erro {
  color: #f47b20;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  background: rgba(244, 123, 32, 0.1);
  border-radius: 8px;
  padding: 6px;
}

/* ====== ANIMAÇÃO ====== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== RESPONSIVO ====== */
@media (max-width: 480px) {
  .login-container {
    padding: 35px 25px;
    border-radius: 18px;
  }

  .logo img {
    width: 180px;
  }

  .login-form h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .login-form input {
    font-size: 14px;
  }

  .login-form button {
    font-size: 15px;
  }
}
