@font-face {
  font-family: "Montserrat";
  font-size: 400;
  src: url("./assets/fonts/Montserrat-Regular.otf");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  font-size: 700;
  src: url("./assets/fonts/Montserrat-Bold.otf");
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  font-size: 400;
  src: url("./assets/fonts/Museo-Sans.otf");
  font-display: swap;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #005a02;
  background-image: url("./assets/img/bg.jpg");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

header {
  display: block;
  width: 100%;
  max-height: 320px;
  overflow: hidden;
}

header .banner {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

@media (max-width: 768px) {
  header {
    max-height: none;
  }

  header .banner {
    height: auto;
    object-fit: initial;
  }
}

main {
  min-height: 100dvh;
}

.content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding-bottom: 2rem;
}

/* Estilos Formulario trustarc */
#form-container {
  background: #005a02;
  color: white;
  padding: 0 25px 25px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ixuUbU {
  background-color: transparent !important;
}

.form-title {
  width: 100%;
  margin: 0 auto 1rem;
  font-family: "Museo Sans";
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding: 1rem 0;
}

.form-title h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.ta-upm-modal-header {
  display: none !important;
}

.ta-upm-modal-body {
  background: #005a02 !important;
}

.ta-upm-form-group-container input,
select,
.ta-upm-select__control {
  border-radius: 20px !important;
  border: 1px solid white !important;
  background-color: #005a02 !important;
  color: white !important;
}

.ta-upm-select__single-value,
.react-datepicker__input-container input::placeholder {
  color: white !important;
}

.ta-upm-form-group a {
  color: white !important;
}

.ta-upm-modal-footer {
  background: #005a02 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1rem !important;
}

.ta-upm-button__primary {
  width: 80% !important;
  background-color: white !important;
  color: #005a02 !important;
  border-radius: 20px !important;
}

.ta-upm-button__secondary {
  color: white !important;
  background-color: transparent !important;
  border-radius: 20px !important;
  width: 80% !important;
}

.ta-upm-select__input input {
  border: 0 !important;
}

#codigo-feedback {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  min-height: 1.1em;
  color: rgba(255, 255, 255, 0.85);
}

#codigo-feedback[data-state="ok"] {
  color: #b6f5b6;
}

#codigo-feedback[data-state="error"] {
  color: #ffcccc;
  font-weight: 700;
}

#codigo-feedback[data-state="loading"] {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.llamado {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 1rem;
}

footer {
  color: white;
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  font-size: 12px;
  font-weight: 400;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  display: block;
  width: 140px;
  height: auto;
}

@media (max-width: 768px) {
  #form-container {
    width: 95%;
    padding: 0 15px 20px;
  }

  .fIuTG {
    padding: 0 !important;
  }

  .form-title h1 {
    font-size: 1.15rem;
  }
}
