/* Stile per il banner */
.newsletter-banner {
    /* background: linear-gradient(135deg, #4a90e2, #50e3c2); */
    background: linear-gradient(135deg, #fdd29f, #f9eacd);
    color: #2b4b6f;
    text-align: center;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .newsletter-banner .content {
    max-width: 600px;
    margin: auto;
  }
  
  .newsletter-banner h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
  }
  
  .newsletter-banner p {
    font-size: 1.2em;
    margin-bottom: 30px;
  }
  
  .subscribe-btn {
    padding: 15px 30px;
    font-size: 1em;
    border: 1px solid transparent;
    border-radius: 5px;
    background-color: #fff;
    color: #2b4b6f;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;

        border-color: #757575;
  }
  
  .subscribe-btn:hover {
    background-color: #f1f1f1;
  }
  
  /* Stile per il modal */
  .modal {
    display: none; /* Nascosto di default */
    position: fixed;
    /* z-index: 1000; */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    /* max-width: 500px; */
    position: relative;
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  /* Stile per il form */
  form label {
    display: block;
    margin-top: 15px;
  }
  
  form input[type="text"],
  form input[type="email"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
  }
  
  fieldset {
    border: none;
    margin-top: 15px;
  }
  
  .consent-wrapper {
    margin-top: 15px;
    display: flex;
    align-items: center;
  }
  
  .consent-wrapper input[type="checkbox"] {
    margin-right: 10px;
  }
  
  #submitBtn {
    margin-top: 20px;
    padding: 10px 25px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background-color: #4a90e2;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #submitBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }
  
  /* Responsive per dispositivi mobili */
  @media (max-width: 768px) {
    .newsletter-banner h1 {
      font-size: 2em;
    }
    
    .newsletter-banner p {
      font-size: 1em;
    }
    
    .subscribe-btn {
      padding: 12px 25px;
      font-size: 0.9em;
    }
  }
  