@media only screen and (max-width: 1024px) {
    #warning-message {
      display: block !important;
      font-size: 24px;
      color: rgb(0, 0, 0);
      text-align: center;
      padding: 10px;
      /* background-color: yellow; */
      margin: 50px;
    }

  /* Hide all other content on mobile screens */
  body > *:not(#warning-message) {
    display: none !important;
  }
}

/* By default, hide the warning message on larger screens */
#warning-message {
  display: none;
  }

#downloadPDF {
    cursor: pointer;
    font-size: 2.3rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

#downloadPDF:hover {
    color: #343a40;
}

#pdfOrientation {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    max-width: 200px;
}

#pdfOrientation:hover {
    background-color: #4a4a4a;
    color: white;
}

@media print {
    .modal {
        display: none !important;
    }
    
    /* Hide everything except the visualization */
    body > *:not(#tableauViz) {
        visibility: hidden;
    }
    
    #tableauViz, #tableauViz * {
        visibility: visible;
    }
    
    #tableauViz {
        position: absolute;
        left: 0;
        top: 0;
    }
}

.modal-body .alert {
    margin-top: 1rem;
}

.modal-body .alert ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}