/* Popup styles */

.popup {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  
  .popup.show {
    opacity: 1;
    pointer-events: auto;
  }
  
  .popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 550px;
    max-height: 80vh;
    overflow-y: auto;
    text-align: center;
    position: relative;
    transform: translateY(-30px);
    opacity: 0;
    transition: all 0.4s ease;
    outline: none;
  }
  
  .popup.show .popup-content {
    transform: translateY(0);
    opacity: 1;
  }
  
  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    text-align: end;
  }
  
  body.no-scroll {
    overflow: hidden;
    padding-right: 15px;
  }
  
  /* Screen reader only */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  