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

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

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

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

body {
  font-family: "Montserrat", sans-serif;
  background: url('/concurso/assets/img/bg.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
}

main {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 60px 40px 60px;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  width: 100%;
  align-items: start;
}

.left-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: sticky;
  top: 60px;
  align-self: flex-start;
}

.left-content .logo {
  max-width: 450px;
  width: 100%;
  height: auto;
}

.right-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.intro-text {
  max-width: 650px;
  width: 100%;
  margin-bottom: 5px;
}

.form-title {
  color: #fff;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.form-subtitle {
  color: #fff;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Estilos Formulario trustarc */
#form-container {
  background: transparent !important;
  color: #fff;
  padding: 0;
  font-size: 14px;
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 650px;
  width: 100%;
}

/* Form Scrip */
/* Ocultar la imagen de cabecera */
.ta-form-logo {
  display: none !important;
}

/* Forzar fondo transparente en todo el formulario */
#trusarchform,
#trusarchform form,
#trusarchform > div,
#trusarchform .ta-form,
.ta-form-wrapper {
  background: transparent !important;
  background-color: transparent !important;
}

/* Estilizar labels */
#trusarchform label,
.phone-label {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
}

/* Estilizar inputs */
#trusarchform input:not([type="checkbox"]):not([type="radio"]),
#trusarchform select,
#trusarchform textarea {
  font-size: 0.9rem !important;
  padding: 8px 12px !important;
  background: white !important;
  border: 1px solid #ddd !important;
  border-radius: 5px !important;
}

/* Estilizar checkboxes */
#trusarchform input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #fff !important;
  border-radius: 4px !important;
  background: transparent !important;
  cursor: pointer !important;
  position: relative !important;
  padding: 0 !important;
  margin: 0 !important;
  vertical-align: middle !important;
  transition: all 0.2s ease !important;
}

#trusarchform input[type="checkbox"]:hover {
  border-color: #2c5234 !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

#trusarchform input[type="checkbox"]:checked {
  background: #2c5234 !important;
  border-color: #2c5234 !important;
}

#trusarchform input[type="checkbox"]:checked::after {
  content: '' !important;
  position: absolute !important;
  left: 5px !important;
  top: 2px !important;
  width: 6px !important;
  height: 10px !important;
  border: solid white !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
  display: block !important;
}

#trusarchform input[type="checkbox"]:focus {
  outline: 2px solid #2c5234 !important;
  outline-offset: 2px !important;
}

/* Estilizar selects específicamente */
#trusarchform select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 35px !important;
}

/* Eliminar el cuadro blanco del select */
#trusarchform select option {
  background: white !important;
  color: #333 !important;
}

#trusarchform select:focus {
  outline: 2px solid #2c5234 !important;
  outline-offset: 2px !important;
  border-color: #2c5234 !important;
}

/* Estilizar el input dentro del select personalizado de TrustArc */
.ta-upm-select__input {
  background: transparent !important;
  color: #333 !important;
}

/* Ocultar el input cuando hay un valor seleccionado */
.ta-upm-select__value-container--has-value .ta-upm-select__input {
  opacity: 0 !important;
  width: 0 !important;
  position: absolute !important;
}

/* Estilizar el contenedor del input */
.ta-upm-select__input-container {
  background: transparent !important;
}

/* Estilizar el contenedor de valores */
.ta-upm-select__value-container {
  background: transparent !important;
}

/* Estilizar el contenedor del select personalizado */
.ta-upm-select__control {
  background: white !important;
  border: 1px solid #ddd !important;
  border-radius: 5px !important;
  min-height: auto !important;
}

.ta-upm-select__control:hover {
  border-color: #2c5234 !important;
}

.ta-upm-select__control--is-focused {
  border-color: #2c5234 !important;
  box-shadow: 0 0 0 1px #2c5234 !important;
}

/* Estilizar el valor seleccionado */
.ta-upm-select__single-value {
  color: #333 !important;
  background: transparent !important;
}

/* Estilizar el placeholder */
.ta-upm-select__placeholder {
  color: #999 !important;
}

/* Estilizar el botón submit (ENVIAR) */
#trusarchform button[type="submit"],
#trusarchform button[id$="-submit"] {
  background: #2c5234 !important;
  color: white !important;
  border: none !important;
  padding: 12px 35px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(44, 82, 52, 0.3) !important;
  margin-top: 12px !important;
  margin-right: 10px !important;
}

#trusarchform button[type="submit"]:hover,
#trusarchform button[id$="-submit"]:hover {
  background: #1e3a26 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(44, 82, 52, 0.5) !important;
}

/* Estilizar el botón reset (BORRAR) */
#trusarchform button[type="reset"] {
  background: white !important;
  color: #2c5234 !important;
  border: 2px solid #2c5234 !important;
  padding: 10px 33px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  margin-top: 12px !important;
  box-sizing: border-box !important;
  height: 46px !important;
}

#trusarchform button[type="reset"]:hover {
  background: #2c5234 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(44, 82, 52, 0.3) !important;
}

@media (max-width: 1024px) {
  main {
    padding: 40px 30px 20px 30px;
  }

  .container {
    gap: 40px;
  }

  .left-content .logo {
    max-width: 380px;
  }
}

@media (max-width: 768px) {
  body {
    background-position: right center;
  }

  main {
    padding: 30px 20px 20px 20px;
    min-height: auto;
  }

  .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .left-content {
    text-align: center;
    align-items: center;
    position: relative;
    top: auto;
  }

  .left-content .logo {
    max-width: 280px;
  }

  .right-content {
    align-items: center;
  }

  .intro-text {
    max-width: 100%;
  }

  #form-container {
    padding: 25px 20px;
    max-width: 100%;
  }

  .form-title {
    font-size: 1.2rem;
    text-align: center;
  }

  .form-subtitle {
    font-size: 0.8rem;
    text-align: center;
  }

  .fIuTG {
    padding: 0 !important;
  }
}

@media screen and (max-width: 767px) {
  .iwisNA {
      display: flex !important;
      flex-direction: column-reverse !important;
  }
}
