.notification-container {
    position: relative;
    display: inline-block;
}
span.mark-read {
    font-size: 14px;
}

/* Notification Bell Icon */
.notification-icon {
    font-size: 24px;
    cursor: pointer;
    position: relative;
    color: #555;
}

/* Red Badge for Notification Count */
.badge {
    background-color: red;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    padding: 4px 7px;
    position: absolute;
    top: -5px;
    right: -5px;
    display: none; /* Hidden if no new notifications */
}

/* Dropdown Box */
/* Default Styles */
.notification-dropdown {
    position: absolute;
    top: 40px; /* Adjust to align below the bell */
    left: 50%;
    transform: translateX(-50%); /* Center below bell */
    width: 300px;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: none;
    z-index: 1000;
    margin-top: -5px;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .notification-dropdown {
        width: 250px; /* Adjust the width for mobile */
        top: 50px; /* Adjust the top spacing for mobile view */
    }
}

/* Ensure dropdown stays within viewport */
@media (max-width: 576px) {
    .notification-dropdown {
        width: 200px; /* Make the dropdown smaller for very small screens */
        top: 50px; /* Adjust top for smaller screens */
    }
}

/* Toggle visibility on hover (optional) */
.notification-icon:hover + .notification-dropdown {
    display: block;
}

/* Header */
.notification-header {
    background: #002f34;
    padding: 5px;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
}
.notification-header h4{
    font-size: 20px;
    color: #fff!important;
}
/* Notification List */
.notification-list {
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
}

/* Each Notification Item */
.notification-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.3s ease;
}

.notification-item:hover {
    background: #e0dddd;
}

/* No Notifications Message */
.no-notifications {
    padding: 20px;
    text-align: center;
    color: #888;
}

/* Footer */
.notification-footer {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

.notification-footer a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}
.all-notifications-main {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}
span.all-notifications-mark-read {
    font-size: 12px;
}
.all-notifications-container {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.all-notifications-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.all-notifications-list {
    max-height: 500px;
    overflow-y: auto;
}

.all-notifications-item {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    align-items: center;
    transition: background 0.3s;
}

.all-notifications-item.all-notifications-unread {
    background: #eaf4ff;
    font-weight: bold;
}

.all-notifications-item.all-notifications-read {
    background: white;
    font-weight: normal;
}

.all-notifications-time {
    color: gray;
    font-size: 12px;
}

.all-notifications-actions span {
    cursor: pointer;
    color: #002f34;
    margin-left: 10px;
}

.all-notifications-no {
    text-align: center;
    padding: 20px;
    color: gray;
}