* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f5fdf7;
  color: #2d572c;
  display: flex;
  justify-content: center; 
  height: 100vh;           
  padding: 0;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 400px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  height: auto;  
  overflow-y: auto;
}

.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  width: 120px;
}

h2 {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 25px;
}

p {
  text-align: center;
}

.form-subtitle {
  text-align: center;
  font-size: 14px;
  margin-bottom: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  position: relative;
}

label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}

input, select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #2d572c;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

input:focus, select:focus {
  border-color: #1d3e1c;
  box-shadow: 0 0 5px rgba(45, 87, 44, 0.5);
}

.go-login-btn, .cadastrar-btn {
  width: auto; 
  margin: 0 auto; 
  display: block;  
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: green;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.go-login-btn:hover, .cadastrar-btn:hover {
  background-color: rgb(0, 88, 0);
}

.go-login-btn {
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.toggle-password {
  padding: 12px;
  border: 1px solid;
  border-radius: 8px;
  background-color: var(--background-color);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary-color);
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  top: 68%;
  transform: translateY(-50%);
}

.form-group.position-relative {
  position: relative;
}

#cnpj-container {
  display: none;
}

.inline {
  display: flex;
  justify-content: space-between;
}

.inline .form-group {
  width: 48%;
}

@media (max-width: 480px) {
  .container {
    padding: 15px;
  }
}
