/* Popup Background Overlay */
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .popup-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* Popup Container */
  .popup {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 480px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
  }
  
  .popup-overlay.active .popup {
    transform: translateY(0);
  }
  
  /* Popup Header */
  .popup-header {
    padding: 20px 24px;
    border-bottom: 1px solid #EBF1FF;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .popup-title {
    font-size: 18px;
    font-weight: 600;
    color: #002E8A;
    margin: 0;
  }
  
  /* Popup Close Button */
  .popup-close {
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 4px;
  }
  
  .popup-close:hover {
    color: #0040C1;
  }
  
  /* Popup Body */
  .popup-body {
    padding: 24px;
  }
  
  /* Popup Footer */
  .popup-footer {
    padding: 16px 24px;
    border-top: 1px solid #EBF1FF;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
  }
  
  /* Popup Types (Success, Error, Warning, Info) */
  .popup.popup-success .popup-header {
    border-top: 4px solid #10B981;
  }
  
  .popup.popup-error .popup-header {
    border-top: 4px solid #EF4444;
  }
  
  .popup.popup-warning .popup-header {
    border-top: 4px solid #F59E0B;
  }
  
  .popup.popup-info .popup-header {
    border-top: 4px solid #0040C1;
  }
  
  /* Animation Classes */
  .popup-fadeIn {
    animation: fadeIn 0.3s ease forwards;
  }
  
  .popup-fadeOut {
    animation: fadeOut 0.3s ease forwards;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; visibility: hidden; }
    to { opacity: 1; visibility: visible; }
  }
  
  @keyframes fadeOut {
    from { opacity: 1; visibility: visible; }
    to { opacity: 0; visibility: hidden; }
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 576px) {
    .popup {
      max-width: 92%;
    }
    
    .popup-header, .popup-body, .popup-footer {
      padding: 16px;
    }
  }