label {
  font-weight: 600;
  color: #0000f8;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  padding: 15px;
  margin-top: 5px;
  border: 0px solid #0000f8;
  border-radius: 15px;
  box-sizing: border-box;
}

.error {
  margin-top: 5px;
}

select {
  cursor: pointer;
  background-color: #fff;
}

select:focus {
  outline: none;
}

button {
  width: 150px;
  border: none;
  background: #0000f8;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  border-radius: 4px;
  padding: 8px;
  font-weight: bold;
}

button:hover {
  background: #0000f8;
}

.form-container {
  max-width: 1080px;
  margin: auto;
  padding: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.opt_lgpd {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px; /* Espaço entre o checkbox e o texto */
}

.opt_lgpd > label {
  font-weight: normal;
  cursor: pointer;
  text-transform: initial;
}

.opt_lgpd > input[type="checkbox"] {
  width: 1.3em;
  height: 1.3em;
  background-color: white;
  border-radius: 50%;
  border: 1px solid #0000f8;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Estiliza o checkbox quando marcado */
.opt_lgpd > input[type="checkbox"]:checked {
  background-color: #0000f8; /* Cor de fundo ao marcar */
  border: 1px solid #0000f8;
}

/* Adiciona a marca de seleção ✔ dentro do checkbox */
.opt_lgpd > input[type="checkbox"]:checked::after {
  content: "✔";
  font-size: 1em;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
}

.full-width {
  grid-column: span 2; /* Ocupa duas colunas */
}

.message-box {
  width: 400px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
  border: 1px solid #0000f8;
  border-radius: 10px;
  display: none;
}

.message-box > span {
  font-weight: bold;
}

#form-contacto .alert {
  position: fixed;
  top: 20px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 0.25rem;
  left: 0;
  right: 0;
}
.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

/* Alerta de aviso */
.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

/* Alerta de erro */
.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* Texto de erro */
.text-danger {
  color: #dc3545 !important;
}

.content-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

@media (max-width: 576px) {
  .form-container {
    padding: 0px;
    margin-left: 1rem;
    margin-right: 1rem;
    padding-top: 25px;
    padding-bottom: 25px;
  }
  #alertBody {
    padding: 1rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 600px) {
  .full-width {
    grid-column: span 1;
  }
}
