* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hidden {
  display: none;
}

body {
  min-height: 100vh;
  background-color: #0f1214;
  font-family: "Inter", sans-serif;
  color: #ffffff;
  padding: 40px 16px;
}

h1 {
  display: flex;
  justify-content: center;
  padding-bottom: 35px;
}

.content {
  max-width: 700px;
  margin: 0 auto; /* centraliza horizontalmente */
  padding: 32px;
  border-radius: 12px;
}

/* DROPDOWN ============================================================= */

/* CONTAINER DO DROPDOWN */
.dropdown {
  margin-bottom: 20px;
}

/* LABEL */
.dropdown label {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  color: #ffffff;
}

/* SELECT */
.dropdown select {
  width: 100%;
  background-color: #0f1214;
  color: #ffffff;

  border: 1px solid #ffffff;
  border-radius: 10px;

  padding: 12px 14px;
  font-size: 14px;

  outline: none;
}

/* OPÇÕES DO SELECT */
.dropdown select option {
  background-color: #14181b;
  color: #ffffff;
}

/* FOCO */
.dropdown select:focus {
  border-color: #3dff88; /* verde claro */
}

/* BUTTON ============================================================= */

/* CONTAINER */
.button-selector {
  margin-bottom: 20px;
}

/* TÍTULO */
.button-selector h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #ffffff;
}

/* ESCONDE RADIO ORIGINAL */
.button-selector input[type="radio"] {
  display: none;
}

/* BOTÕES */
.button-selector label {
  display: inline-block;
  padding: 12px 20px;

  margin-right: 10px;
  margin-top: 15px;

  background-color: #0f1214;
  color: #ffffff;

  border: 1px solid #ffffff;
  border-radius: 10px;

  cursor: pointer;
  font-size: 14px;

  transition: all 0.2s ease;
}

/* HOVER */
.button-selector label:hover {
  border-color: #3dff88;
}

/* SELECIONADO */
.button-selector input[type="radio"]:checked + label {
  background-color: #3dff88;
  color: #0f1214;
  border-color: #3dff88;
}

/* CONTAINER */
.text-input {
  margin-bottom: 20px;
}

/* LABEL */
.text-input label {
  display: block;
  font-size: 18px;
  color: #ffffff;
}

/* INPUT DE TEXTO */
.text-input input[type="text"] {
  width: 100%;
  background-color: #0f1214;
  color: #ffffff;

  border: 1px solid #ffffff;
  border-radius: 10px;

  padding: 12px 14px;
  font-size: 14px;

  outline: none;
}

/* FOCO */
.text-input input[type="text"]:focus {
  border-color: #3dff88;
}

/* PLACEHOLDER */
.text-input input::placeholder {
  color: #9aa0a6;
}

.submit-button {
  width: 100%;
  margin-top: 24px;

  background-color: #3dff88;
  color: #0f1214;

  border: none;
  border-radius: 12px;

  padding: 14px;
  font-size: 16px;
  font-weight: 500;

  cursor: pointer;

  transition: background-color 0.2s ease, transform 0.1s ease;
}

/* HOVER */
.submit-button:hover {
  background-color: #2ee673;
}

/* CLICK */
.submit-button:active {
  transform: scale(0.98);
}

/* DISABLED */
.submit-button:disabled {
  background-color: #2a3d33;
  color: #7ea892;
  cursor: not-allowed;
}

.form-label {
  padding-top: 20px;
  padding-bottom: 15px;
  font-size: 18px;
}

.section-title {
  padding-top: 20px;
}
@media (max-width: 768px) {

  /* CONTAINER PRINCIPAL */
  .content {
    padding: 0px;
    border-radius: 10px;
  }

  /* TÍTULOS */
  h2,
  h3 {
    font-size: 16px;
  }

  /* LABELS */
  label {
    font-size: 13px;
  }

  /* DROPDOWNS E INPUTS */
  .dropdown select,
  .text-input input,
  .submit-button {
    font-size: 15px;
    padding: 14px;
  }

  /* BOTÕES UNIDADE / MASSA */
  .button-selector label {
    width: 100%;
    text-align: center;
    margin-right: 0;
  }

  /* ESPAÇO ENTRE BOTÕES */
  .button-selector label + label {
    margin-top: 10px;
  }


}
@media (max-width: 480px) {
  .submit-button {
    font-size: 16px;
    padding: 16px;
  }
}


/* ===== ERRO DE FORMULÁRIO ===== */
.form-error {
  margin-top: 6px;
  padding: 6px 10px;
  color: #b71c1c;              /* vermelho forte */
  background: #fdecea;         /* fundo vermelho claro */
  border-left: 4px solid #e53935;
  font-size: 0.85rem;
  line-height: 1.3;
  border-radius: 4px;
}

/* Destaca o bloco que contém erro */
.has-error {
  border-radius: 10px;
}

/* Caso o erro esteja em inputs ou selects */
input.has-error,
select.has-error {
  border-color: #e53935;
  outline: none;
}

/* Suaviza a entrada do erro */
.form-error {
  animation: fadeInError 0.25s ease-in-out;
}

@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container-imagem{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 40px;
}