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

body {
  background-color: #0f172a;
  font-family: Arial, sans-serif;
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

form {
  background-color: #1f2937;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px #00000033;
  max-width: 400px;
  width: 100%;
}

form h2 {
  margin-bottom: 20px;
}

form select,
form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
}

form button {
  width: 100%;
  padding: 12px;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #1d4ed8;
}

footer {
  text-align: center;
  padding: 15px;
  background-color: #0b1222;
  font-size: 14px;
}

#floatButtons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  padding: 10px 20px;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.form-popup {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #1f2937;
  padding: 20px;
  border-radius: 10px;
  color: white;
  box-shadow: 0 0 10px #00000080;
  width: 300px;
}

.form-popup input,
.form-popup textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 5px;
  border: none;
}

.form-popup button {
  padding: 8px;
  width: 48%;
  margin-right: 2%;
}


.privacy-btn {
  margin-top: 20px;
  padding: 8px 16px;
  background-color: #4b5563;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(15, 23, 42, 0.9);
}

.modal-content {
  background-color: #1f2937;
  color: white;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  text-align: center;
}

.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}


#floatButtons {
  bottom: 100px; /* Subiu 80px */
}


.footer-priv {
  font-size: 12px;
  color: #9ca3af;
  display: block;
  margin-top: 5px;
  cursor: pointer;
}
.footer-priv:hover {
  text-decoration: underline;
}


.container {
  margin-top: -40px;
}


/* Estilo melhorado para o formulário flutuante em mobile */
@media (max-width: 768px) {
  .form-popup {
    width: 90%;
  }

  .form-popup textarea {
    height: 100px;
    resize: vertical;
  }

  .form-popup .form-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .form-popup button {
    width: 100%;
    margin-right: 0;
  }
}


/* Melhor ajuste visual para mobile */
@media (max-width: 768px) {
  .container {
    justify-content: start;
    padding-top: 30px;
  }

  form {
    margin-top: 10px;
  }

  .logo {
    margin-top: 20px;
    margin-bottom: 10px;
  }

  #floatButtons {
    bottom: 110px;
    right: 10px;
  }

  .form-popup {
    top: auto;
    bottom: 120px;
  }
}
