.fin-notifications {
    max-width: 800px;
    margin: 20px auto;
}

.fin-notification {
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid #119EF8;
    border-radius: 4px;
    background-color: #FFF;
    transition: background-color 0.3s ease;
}

.fin-notification.seen {
    opacity: 0.8;
    border: 1px solid #E5E7EB;
}

h4.fin-notification-title {
    margin: 0 0 10px;
    font-size: 1rem !important;
    font-weight: 700;
    color: #020202;
    padding-bottom: 0;
}

.fin-notification-title:before {
    content: "";
    display: inline-block;
    position: relative;
    width: 10px;
    height: 10px;
    background-color: #119EF8;
    border-radius: 40px;
    margin-right: 6px;
}

.fin-notification.seen .fin-notification-title:before {
    display: none;
}

.fin-notification.seen h4.fin-notification-title {
    font-weight: 400;
}

.fin-notification-content {
    margin-bottom: 10px;
    color: #020202;
    font-size: 0.8rem;
    line-height: 1.1rem;
}

.fin-notification-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    color: #666;
}

.fin-notification-delete {
    padding: 5px 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.fin-notification-delete:hover {
    background-color: #c82333;
}

.fin-notifications-empty {
    text-align: center;
    color: #666;
    padding: 20px;
}



/* Popup styling */
.notifications-popup {
    display: none;
    position: absolute;
    z-index: 9999;
    width: 350px;
    max-width: calc(100vw - 40px); /* Ensure it doesn't exceed viewport width */
    max-height: 400px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    border-radius: 4px;
    overflow: auto;
  }
  
  .notifications-popup:before {
    content: '';
    position: absolute;
    top: -10px;
    right: auto; /* Reset right positioning */
    left: 20px; /* Will be adjusted in JavaScript if needed */
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
  }
  
  .notifications-popup-content {
    padding: 0;
  }
  
  .notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
    position: sticky;
    top: 0; /* Keep header visible when scrolling */
  }
  
  .notifications-header h3 {
    margin: 0;
    font-size: 16px;
  }
  
  .close-popup {
    font-size: 24px;
    cursor: pointer;
  }
  
  .notifications-body {
    padding: 15px;
  }