/* Popup overlay styling */
#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex; /* Flex for centering */
    justify-content: center;
    align-items: center;
    z-index: 1000;

    /* Fade-in animation */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  /* When popup is active */
  #popup-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Popup container styling */
  #popup {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 870px;
    width: 90%; /* Responsive width */

    /* Slide-in animation */
    transform: scale(0.8);
    transition: transform 0.5s ease;
  }
  #popup-overlay.active #popup {
    transform: scale(1);
  }

  /* Close button styling */
  #popup-close {
    background: #3241ff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
  }

  /* Logo styling */
  #popup-logo {
    width: 175px;
    height: auto;
    margin: 10px auto;
  }

  /* Title styling */
  #popup-title {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
  }

  /* List styling */
#list-pop {
    text-align: left; /* Align list to the left */
    margin: 15px 0;
    padding-left: 20px; /* Add space for list numbers */
    list-style-type: decimal; /* Ensure numbers are shown */
  }
  
  #list-pop li {
    margin-bottom: 10px;
    font-size: 16px; /* Adjust font size for visibility */
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    #popup {
      padding: 15px;
      max-width: 90%;
    }

    #popup-title {
      font-size: 18px;
    }

    #list-pop li {
      font-size: 14px;
    }
  }