/* Notification Dropdown Styles - Matching Profile Dropdown */
.notification-container,
.notification_container {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: none !important;
    z-index: 9999;
    min-width: 250px;
    padding: 8px 0;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    transform-origin: top right;
    font-size: var(--user-font-size) !important;
    max-height: 400px;
    overflow-y: auto;
}

/* Override any existing notification container styles */
.notification-container,
.notification_container {
    width: auto !important;
    min-width: 250px !important;
    max-width: 350px !important;
}

.notification-container.active,
.notification_container.active {
    display: block;
    opacity: 1;
    visibility: visible;
    height: auto;
    width: auto;
}

.notification-container ul,
.notification_container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: block;
}

.notification-container ul li,
.notification_container ul li {
    padding: 8px 15px;
    width: 100%;
    box-sizing: border-box;
    display: block;
    height: auto;
    border-bottom: none !important;
}

.notification-container ul li:hover,
.notification_container ul li:hover {
    background-color: #f5f5f5;
}

.notification-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.notification-message {
    color: var(--text-color, #333);
    text-decoration: none;
    display: block;
    width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    padding: 0;
    height: auto;
    line-height: 1.4;
    margin-bottom: 4px;
    font-size: var(--user-font-size) !important;
    font-weight: 300 !important;
}

.notification-date {
    color: #777;
    font-size: 0.85em;
    text-align: right;
}

.no-activity {
    text-align: center;
    color: #777;
    font-style: italic;
}

/* Override any table styles that might be applied from other CSS */
.notification-container table,
.notification_container table {
    display: none !important;
}

/*
.header-notification-icon {
    background-image: url('../@pictureDB/icons/bell.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;  /* or 32px depending on your icon size */
    height: 24px; /* or 32px depending on your icon size */
    display: inline-block;
    position: relative;
    vertical-align: middle;
}
*/

/* Hide any existing icon */
/*
.header-notification-icon i {
    display: none;
}
*/
