.modal-base {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 8px;
  z-index: 1000;
  width: 350px;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
  color: black; /* Cor preta para todo o texto */
}

.modal-escolha {
  background: #f0f0f0;
  border: 2px solid #dbdbdb;
}

.modal-adicionar {
  background: #dfdfdf;
  border: 2px solid #a1a1a1;
}

.modal-retirar {
  background: #d4d4d4;
  border: 2px solid #c0c0c0;
}

.modal-base button {
  padding: 10px;
  margin: 5px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.modal-base button:hover {
  opacity: 0.8;
}

.modal-escolha button {
  background: #a5a5a5;
  color: white;
}

.modal-adicionar button {
  background: #b6b6b6;
  color: white;
}

.modal-retirar button {
  background: #aaa9a9;
  color: white;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.modal-base .form::-webkit-scrollbar {
  width: 8px;
}

.modal-base .form::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.modal-base .form::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.form label {
  font-size: 14px;
  color: black;
  font-weight: 600;
  margin-bottom: 5px;
}

.form .input,
.form select {
  width: 100%;
  padding: 10px;
  outline: 0;
  border: 1px solid rgba(105, 105, 105, 0.397);
  border-radius: 10px;
  color: black;
}

.form .input:focus,
.form select:focus {
  border-color: rgb(133, 133, 133);
}

.submit {
  border: flex;
  outline: flex;
  background-color: rgb(94, 94, 94);
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  transform: 0.3s ease;
}

.submit:hover {
  background-color: rgb(114, 114, 114);
}

.modal-base h3 {
  margin-bottom: 15px;
  color: black;
}

.modal-base p {
  margin-bottom: 20px;
  font-size: 14px;
  color: black;
}
#eventoHistocicoSaida {
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 5px;
  border: 2px solid #a5a5a5;
  background-color: #c0c0c0;
  color: #d4d4d4;
  width: 100%;
  transition: border_color 0.3s ease;
}
#eventoHistocicoSaida:focus {
  border-color: #a1a1a1;
  outline: none;
}
#eventoHistocicoSaida option {
  padding: 10px;
  font-size: 16px;
}
