@charset "UTF-8";

:root {
  --cor-destaque: #2ecc71;
  --cor-fundo: #f4f4f4;
  --cor-texto: #333;
}

body {
  font-family: 'Arial', sans-serif;
  margin: 10px;
  background-color: var(--cor-fundo);
  color: var(--cor-texto);
  font-size: 16px;
}

h2 {
  color: var(--cor-destaque);
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}

h3,
h4 {
  color: #007bff;
  margin-bottom: 20px;
}

.category,
.AÉRO,
.MARÍTIMO_1,
.Marítimo_2 {
  margin-bottom: 20px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.category:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 600px) {
  .category {
    padding: 10px;
  }

  input,
  select,
  button,
  label,
  p {
    width: 100%;
    display: block;
    box-sizing: border-box;
  }
}

label,
p {
  margin-bottom: 10px;
}

label.required::before {
  content: '* ';
  color: red;
}

input:required:invalid,
select:required:invalid {
  border-bottom: 2px solid red;
}

input:required:valid,
select:required:valid {
  border-bottom: 2px solid #ccc;
}

.error-message {
  color: red;
  font-size: 12px;
}

input,
select,
button {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 16px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  padding: 12px;
  background-color: var(--cor-destaque);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: #27ae60;
  transform: scale(1.05);
}

#resultadoContainer {
  color: black;
  margin-top: 5vw;
  padding: 2vw;
  background-color: #dff0d8;
  border: 1px solid #3c763d;
  border-radius: 4px;
}

.terminal-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.terminal-container > div {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  margin-bottom: 10px;
}

.terminal-container select,
.terminal-container input {
  width: 100%;
}

footer {
  font-size: 13px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1em 0;
  position: relative;
  clear: both;
}

.tamanho-luanda {
  width: 5em;
}

#moedas:required:invalid {
  border-bottom: 2px solid red;
}
#moedas-luanda:required:valid {
  border-bottom: 2px solid #ccc;
}


#moedas {
  width: 100%;
  max-width: 300px;
  padding: 0.8%;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-height: 100px; /* Adicione uma altura máxima em pixels ou em outra unidade relativa */
  overflow-y: auto; /* Adicionado para adicionar uma barra de rolagem vertical caso o conteúdo ultrapasse a altura máxima */
}

@media only screen and (max-width: 600px) {
  #moedas {
    font-size: 0.8em;
    max-height: 300px; 
  }
}

.AÉRO,
.MARÍTIMO_1,
.Marítimo_2 {
  display: none;
}