/* RESET E BODY */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9fafb;
  padding-top: 120px; /* espaço para header */
  color: #1e293b;
}

/* HEADER */
.header {
  background-color: #e6ebf0;
  padding: 20px 30px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo img {
  height: 50px;
  width: auto;
}

/* NAV SOCIAL */
.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.nav ul li a svg {
  width: 24px;
  height: 24px;
  fill: #1e293b;
  transition: transform 0.2s, fill 0.2s;
}

.nav ul li a:hover svg {
  transform: scale(1.1);
  fill: #00c853; /* verde do padrão */
}

/* Garante alinhamento das redes sociais */
.nav ul li.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: #1e293b;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background: #1e293b;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* LOGIN BOX */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* alinhado ao topo */
  min-height: calc(100vh - 120px);
  padding-top: 40px; /* mais próximo do header */
}

.login-box {
  background: #fff;
  padding: 3rem 2.5rem;
  border-radius: 16px;
  max-width: 400px;
  width: 95%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
}

.login-box h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #00c853; /* título verde */
}

.login-box p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  color: #555;
}

.login-box input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 1.2rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: 0.3s;
}

.login-box input:focus {
  border-color: #00c853;
  box-shadow: 0 0 6px rgba(0,200,83,0.3);
  outline: none;
}

/* CHECKBOX */
.checkbox-container {
  display: flex;
  align-items: center; /* garante alinhamento vertical */
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  accent-color: #00c853; /* verde do padrão */
  margin: 5px; /* remove margens padrão */
}

.checkbox-container label {
  display: flex;
  align-items: center; /* alinha o texto ao centro do checkbox */
}

.login-box button {
  width: 100%;
  padding: 14px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  background: #00c853; /* verde sólido */
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.login-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,200,83,0.3);
}

/* FOOTER LINK */
.login-footer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.login-footer a {
  color: #00c853;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s;
    z-index: 1000;
  }

  .nav.open { right: 0; }

  .nav ul {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .nav ul li.social-icons {
    justify-content: center;
    gap: 20px;
  }

  .nav ul li.social-icons svg:hover {
    fill: #00c853; /* verde hover mobile */
  }
}