/* Reset básico */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  background-color: #09a530;
  color: white;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0px 0px 30px 0px;
}

header .logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

header h1 {
  font-size: 1.5rem;
  margin: 0;
}

/* Centralização do formulário */
.container {
  margin: auto; /* Centraliza verticalmente e horizontalmente */
  width: 100%;
  max-width: 400px; /* Largura máxima do formulário */
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  box-sizing: border-box;
}

/* Formulário */
.form-group {
  margin-bottom: 15px;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

input,
select,
textarea {
  width: 100%; /* Mesma largura para todos */
  padding: 10px;
  margin: 5px 0 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box; /* Garante que o padding não afeta a largura */
}

input,
select,
textarea {
  outline: none;
  transition: border 0.3s ease-in-out;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #09a530;
  box-shadow: 0 0 5px rgba(9, 165, 48, 0.5);
}

textarea {
  resize: vertical;
}

/* Botões */
button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%; /* Botões com largura completa */
  margin-bottom: 10px; /* Espaçamento entre botões */
}

.btn-primary {
  background-color: #09a530;
  color: white;
}

.btn-primary:hover {
  background-color: #078c26;
}

.btn-danger {
  background-color: #e63946;
  color: white;
}

.btn-danger:hover {
  background-color: #d62839;
}

/* Popup */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 2px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 1000;
  border-radius: 8px;
}

.popup p {
  margin: 15px 0;
}

.hidden {
  display: none;
}

body.popup-active {
  overflow: hidden;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
  /* position: relative;
  width: 100%; */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  margin-top: 20px; /* Espaço entre o formulário e o footer */
}


/* Responsividade */
@media (max-width: 600px) {
  .container {
    /* margin: 10px; */
    padding: 15px;
  }

  header h1 {
    font-size: 1.2rem;
  }

  button {
    font-size: 0.9rem;
  }

  .popup{
    width: 70%;
  }
}

