@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --black: #000;
  --dark-gray: #1a1a1a;
  --gray: #e0e0e0;
  --medium-gray: #333;
  --light-gray: #cfcfcf;
  --green: #00ab17;
  --green-hover: #018512;
  --white: #ffffff;
  --blue: #0033cc;
  --dark-blue: #002299;
  --red: #b50000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: var(--white);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header {
  width: 100%;
  position: relative;
}

/* ---------- DESKTOP ---------- */

.header-image {
  width: 100%;
}

.header-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.header-logo {
  display: none;
}

.header-buttons {
  position: absolute;
  top: 2.5rem;
  right: 2rem;
  display: flex;
  gap: 1rem;
}

.button-redirect {
  color: var(--white);
  background: var(--black);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--white);
    gap: 2rem;
  }

  /* Esconde banner */
  .header-image {
    display: none;
  }

  /* Mostra logo */
  .header-logo {
    display: flex;
    align-items: center;
  }

  .header-logo img {
    height: 32px;
    width: auto;
  }

  /* Botões à direita */
  .header-buttons {
    position: static;
    gap: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: end;
    padding-top: 2rem;
  }

  .button-redirect {
    padding: 0.45rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* ---------- TELAS MUITO PEQUENAS ---------- */
@media (max-width: 420px) {
  .button-redirect {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }
}


.title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--black);
  text-align: center;
  padding-top: 1rem;
}

.subtitle {
  font-weight: normal;
  margin-bottom: 0.8rem;
}

.form-container {
  display: flex;
  justify-content: center;
}

.form-card {
  background: var(--white);
  width: 100%;
  max-width: 950px;
  min-height: 40px;
  height: auto;
  padding: 1.5rem 4rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.card-title-container {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--green);
}


.line {
  width: 100%;
  max-width: 25rem;
  border-color: var(--green);
}

.card-body-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  width: 100%;
}

.card-body-container input {
  font-family: "Poppins", sans-serif;
  background-color: transparent;
  border: 1px solid var(--black);
  width: 100%;
  max-width: 1200px;
  height: 50px;
  padding: 0.5rem;
  border-radius: 8px;
  color: var(--black);
  outline: none;
}

.card-body-container input:focus {
  border-color: var(--green);
}

.card-body-container input::placeholder {
  color: var(--black);
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
}

.card-button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
  width: 100%;
}

.card-button {
  background: var(--green);
  padding: 1rem 0;
  width: 100%;
  max-width: 300px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--white);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.card-button:hover {
  background: var(--green-hover);
}

.form-group {
  width: 100%;
  max-width: 700px;
  padding-bottom: 1rem;
}

.form-wrapper {
  display: flex;
  width: 100%;
  gap: 2rem;
}

.form-column {
  flex: 1;
}

.form-row {
  display: flex;
  width: 100%;
  padding-inline: 4rem;
  gap: 1rem;
}

.form-group label {
  display: block;
  color: var(--black);
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  text-align: left;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #000;
}

.select2-container--default .select2-results__option {
  color: #000;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #eaeaea;
  color: #000;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: #ddd;
  color: #000;
}

.card-title {
  font-size: 2.5rem;
}

select {
  width: 100%;
  height: 45px;
  background-color: transparent;
  border: 1px solid var(--black);
  border-radius: 8px;
  color: var(--black);
  padding: 0 1rem;
  font-family: "Poppins", sans-serif;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7em top 50%;
  background-size: 0.65em auto;
}

select option {
  background-color: var(--black);
  color: var(--black);
}

select:focus {
  outline: none;
  border-color: var(--green-hover);
}

.form-group label {
  font-size: 1rem;
  color: #000;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.btn-iniciar {
  margin-top: -50px;
  width: 100%;
  max-width: 300px;
}

@media (max-width: 768px) {
  .header-buttons {
    top: 1rem;
    right: 1rem;
    gap: 0.5rem;
  }

  .button-redirect {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .form-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header-buttons {
    position: relative;
    top: auto;
    right: auto;
    margin-top: -30px;
    margin-bottom: 10px;
    justify-content: center;
    width: 100%;
  }

  .button-redirect {
    background: rgba(0, 0, 0, 0.8);
    font-size: 0.75rem;
  }

  .title {
    font-size: 1.25rem;
    color: var(--green);
  }

  .card-title {
    font-size: 2.7rem
  }

  .card-body-container input {
    font-size: 0.9rem;
  }

  .card-button {
    width: 100%;
    max-width: 100%;
  }
}

.content-wrapper {
  padding-top: 3rem;
}
.instructions-list {
  color: var(--white);
  text-align: left;
  font-size: 1rem;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  padding: 0 3rem;
  list-style: none;
}

.instructions-list li {
  margin-bottom: 0.8rem;
  line-height: 1.4;
  color: var(--black);
}

.highlight {
  color: var(--green);
  font-weight: bold;
}

.alert {
  color: var(--red);
  font-weight: bold;
}

ion-icon {
  color: var(--green);
  font-weight: bold;
  --ionicon-stroke-width: 16px;
}

/* ===========================
   FORMULÁRIO RESPONSIVO
=========================== */

@media (max-width: 900px) {
  .form-card {
    padding: 1.5rem 2rem;
  }

  .form-wrapper {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {

  /* Empilha as colunas */
  .form-wrapper {
    flex-direction: column;
    gap: 0;
  }

  .form-column {
    width: 100%;
  }

  .form-group {
    max-width: 100%;
  }

  .card-title {
    font-size: 2rem;
  }

  .title {
    font-size: 1.3rem;
  }

  .line {
    max-width: 100%;
  }

  .card-body-container {
    padding-top: 1rem;
  }
}

@media (max-width: 480px) {

  .form-container {
    padding: 0 0.5rem;
  }

  .form-card {
    padding: 1.2rem 1rem;
    border-radius: 6px;
  }

  .card-title {
    font-size: 1.8rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .card-body-container input,
  select {
    height: 46px;
    font-size: 0.9rem;
  }

  .card-button {
    font-size: 0.95rem;
    padding: 0.9rem 0;
  }
}

