body {
  background-image: url("./assets/market-monitor/background-square.svg");
}

.header {
  background-color: #E5F6FE;
  top: 0;
  padding: 42px 0 25px 0;
  height: 100px;
}

.footer-section {
  padding: 30px 0;
}

.section-download {
  min-height: calc(100vh - 193px);
  display: flex;
  align-content: center;
  align-items: center;
  padding-top: 0px;
}

.download-box {
  position: relative;
  margin-top: "auto";
  z-index: 2;
  background: #E5F6FE;
  border-radius: 16px;
  width: 100%;
  padding: 46px;
  display: flex;
  gap: 48px;
  align-items: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  justify-content: space-between;
  overflow: hidden;
}

.download-content {
  /* Su desktop diamo più respiro: 60% al testo, il resto all'immagine */
  flex: 0 0 45%;
  max-width: 45%;
  z-index: 2;
}

.download-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0074C1;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 18px;
}

.download-subtitle {
  font-size: 17px;
  color: #000000;
  margin-bottom: 30px;
}



.download-form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0074C1;
  line-height: 1.1;
  margin-bottom: 18px;
}

.download-image {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
}

.download-image img {
  max-width: 130%;
  /* Leggermente più grande per l'effetto visivo */
  height: auto;
  display: block;
  /* Spostamento immagine verso l'esterno su desktop */
  transform: translateX(0px);
}


.btn-download {
  align-self: flex-start;
  background-color: #e50013;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  text-transform: uppercase;
  padding: 6px 15px;
}

.btn-download:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .download-box {
    flex-direction: column;
    /* Allineamento verticale */
    text-align: center;
    /* Testo centrato */
    padding: 40px 20px;
    /* Padding ridotto per schermi piccoli */
    gap: 30px;
    /* Spazio tra testo e immagine */
  }

  .download-content {
    max-width: 100%;
  }

  .download-image {
    width: 100%;
    order: 2;
    /* Mette l'immagine sotto il testo (facoltativo) */
  }

  .download-image img {
    max-width: 80%;
    /* Evita che l'immagine sia troppo enorme su mobile */
    margin: 0 auto;
  }

  .btn-download {
    width: 100%;
  }
}


.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.form-group input {
  border: 1.5px solid #c8dff5;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-family: inherit;
  background: white;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-group input::placeholder {
  color: #4EB2E5;
}


.form-group input:focus {
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

.white-link {
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.white-link a {
  color: white;
  text-transform: uppercase;
  text-decoration: underline;
  font-size: 1.1rem;
  font-weight: bold;
}

.white-link svg {
  height: 14px;
  width: 14px;
  margin-right: 5px;
}

.checkbox-text a {
  color: #0074C1;
}

.nav-list a.active {
  font-weight: bold;
  cursor: default;
}