* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  background: url('/lolla2026/assets/img/bg.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Scroll global afecta al form */
html {
  scroll-behavior: smooth;
}

main {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
}

.container {
  display: flex;
  width: 100%;
  max-width: 1400px;
}

.left-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.right-content {
  flex: 0 0 auto;
  width: 45%;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

.right-content::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  width: 45%;
  height: 100vh;
  background: url('/lolla2026/assets/img/bg-form-seamless.png') repeat-y center top;
  background-size: 100% auto;
  z-index: -1;
}

.header-section {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  max-width: 280px;
  height: auto;
  margin-bottom: 20px;
}



.subtitle {
  color: #fff;
  text-align: center;
  font-size: 1rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

#form-container {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

#trusarchform {
  width: 100%;
}

/* ================================
   Estilos para TrustArc Form
   ================================ */

/* Contenedor principal del formulario */
#trusarchform .ta-upm-modal-content {
  background: transparent !important;
  box-shadow: none !important;
}

/* Ocultar header con logo de TrustArc */
#trusarchform .ta-upm-modal-header {
  display: none !important;
}

/* Body del formulario */
#trusarchform .ta-upm-modal-body {
  padding: 0 !important;
  background: transparent !important;
}

/* Grupos de campos */
#trusarchform .ta-upm-form-group {
  margin-bottom: 15px !important;
}

/* Labels */
#trusarchform .ta-upm-label {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  margin-bottom: 8px !important;
  display: block !important;
}

/* Asterisco de requerido */
#trusarchform .ta-upm-required {
  color: #3bc3f3 !important;
  margin-left: 4px !important;
}

/* Inputs de texto y email */
#trusarchform .ta-upm-input {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 25px !important;
  font-size: 14px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #333 !important;
  transition: all 0.3s ease !important;
}

#trusarchform .ta-upm-input:focus {
  outline: none !important;
  border-color: #3bc3f3 !important;
  box-shadow: 0 0 0 3px rgba(59, 195, 243, 0.3) !important;
}

#trusarchform .ta-upm-input::placeholder {
  color: #888 !important;
}

/* Selects - contenedor */
#trusarchform .ta-upm-select {
  width: 100% !important;
}

#trusarchform .ta-upm-select__control {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 25px !important;
  min-height: 44px !important;
  padding: 0 8px !important;
  box-shadow: none !important;
}

#trusarchform .ta-upm-select__control:hover {
  border-color: #3bc3f3 !important;
}

#trusarchform .ta-upm-select__single-value {
  color: #333 !important;
}

#trusarchform .ta-upm-select__placeholder {
  color: #888 !important;
}

#trusarchform .ta-upm-select__indicator-separator {
  display: none !important;
}

#trusarchform .ta-upm-select__menu {
  border-radius: 15px !important;
  overflow: hidden !important;
}

/* Campo de teléfono */
#trusarchform .ta-phone-number-input {
  display: flex !important;
  gap: 10px !important;
}

#trusarchform .ta-phone-country-select {
  flex: 0 0 120px !important;
}

/* Date picker */
#trusarchform .ta-upm-date-picker-input-container {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 25px !important;
  font-size: 14px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #333 !important;
}

/* Checkboxes */
#trusarchform .ta-upm-checkbox-container {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  flex-direction: row-reverse !important;
}

#trusarchform .ta-upm-checkbox-styled {
  position: relative !important;
}

#trusarchform .ta-upm-checkbox-styled input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  accent-color: #3bc3f3 !important;
  cursor: pointer !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 1 !important;
  -webkit-appearance: auto !important;
  appearance: auto !important;
}

#trusarchform .ta-upm-checkbox-styled input[type="checkbox"]:checked {
  background-color: #3bc3f3 !important;
}

/* Asegurar que el checkbox custom de TrustArc sea visible */
#trusarchform [class*="checkbox"] svg {
  width: 20px !important;
  height: 20px !important;
  fill: #3bc3f3 !important;
}

#trusarchform [class*="Checkbox"] {
  opacity: 1 !important;
  visibility: visible !important;
}

#trusarchform .ta-upm-static-text-container {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

#trusarchform .ta-upm-static-text-container a {
  color: #3bc3f3 !important;
  text-decoration: underline !important;
}

/* Footer con botones */
#trusarchform .ta-upm-modal-footer {
  background: transparent !important;
  padding: 20px 0 0 0 !important;
}

#trusarchform .ta-upm-button {
  padding: 14px 30px !important;
  border-radius: 25px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  min-width: 150px !important;
}

#trusarchform .ta-upm-button__primary {
  background: #3bc3f3 !important;
  color: #fff !important;
  border: none !important;
}

#trusarchform .ta-upm-button__primary:hover {
  background: #2badd9 !important;
  transform: translateY(-2px) !important;
}

#trusarchform .ta-upm-button__secondary {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid #fff !important;
}

#trusarchform .ta-upm-button__secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Ocultar powered by TrustArc */
#trusarchform svg[aria-label="Powered by TrustArc"],
#trusarchform [class*="powered"],
#trusarchform a[href*="trustarc"] {
  display: none !important;
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 1024px) {
  body {
    background: none;
  }

  main {
    padding: 0;
    align-items: stretch;
  }

  .container {
    flex-direction: column;
    max-width: 100%;
    width: 100%;
  }

  .left-content {
    display: block !important;
    flex: none !important;
    width: 100% !important;
    height: 40vh !important;
    min-height: 250px;
    background: url('/lolla2026/assets/img/bg.jpg') no-repeat center center !important;
    background-size: cover !important;
    position: relative;
  }

  .left-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #0a1628);
    pointer-events: none;
  }

  .right-content {
    width: 100%;
    padding: 30px 25px;
    background: url('/lolla2026/assets/img/bg-form-seamless.png') repeat-y center top;
    background-size: 100% auto;
  }

  .right-content::before {
    display: none;
  }

  .logo {
    max-width: 220px;
  }
}

@media (max-width: 480px) {
  main {
    padding: 0;
  }

  .left-content {
    height: 35vh;
  }

  .right-content {
    padding: 25px 20px;
  }

  .logo {
    max-width: 180px;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  #trusarchform .ta-upm-input,
  #trusarchform .ta-upm-select__control {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }

  #trusarchform .ta-phone-number-input {
    flex-direction: column !important;
  }

  #trusarchform .ta-phone-country-select {
    flex: 1 !important;
  }
}
