/* Estilo Global */
body {
  font-family: 'Arial', sans-serif;
  background-image: url("img/fundo.PNG");
  background-color: #0f375800;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  flex-direction: column;
}

/* Container Principal */
.container {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
  width: 90%;
  max-width: 800px;
}

.layout {
  width: 100%;

  display: flex;
  gap: 16px;
}

.marginLeft { margin-left: auto; }

/* Grupos de Formulário */
.form-group {
  margin-bottom: 15px;
  margin-top: 15px;
}

/* Container de Checkbox */
.checkbox-container {
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
  background: #f9f9f9;
  border-radius: 5px;
}

.checkbox-container label {
  display: block;
  padding: 5px;
  cursor: pointer;
}

/* Grupo de Botões */
.button-group {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}

/* Estilos de Botões */
button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: white;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

/* Botão Informativo (Azul) */
button.info {
  background-color: #007BFF;
  /* Azul */
}

button.info:hover {
  background-color: #0056b3;
}

/* Botão de Ação Principal (Verde) */
button.primary {
  background-color: #4CAF50;
  /* Verde */
}

button.primary:hover {
  background-color: #45a049;
}

/* Botão de Adição (Amarelo) */
button.warning {
  background-color: #f67000;
  /* Amarelo */
}

button.warning:hover {
  background-color: #e0a800;
}

/* Botão de Salvamento (Roxo) */
button.save {
  background-color: #6f42c1;
  /* Roxo */
}

button.save:hover {
  background-color: #5a32a3;
}

/* Estilo do Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 700px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: center;
  max-height: 80vh;
  overflow-y: auto;
}

.modal h2 {
  margin-bottom: 10px;
}

.modal p {
  text-align: left;
  margin-bottom: 10px;
}

.modal strong {
  color: #007BFF;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 40px;
  cursor: pointer;
  color: #e40000;
}

.close-btn:hover {
  color: #000;
}