﻿.notification-bell {
    position: relative;
    cursor: pointer;
    font-size: 14px;
}

.notification-count {
    position: absolute;
    top: 3px;
    right: 3px;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 16px; /* Fixed width */
    height: 16px; /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1; /* Ensures the text is centered vertically */
}

.button-read-grey {
    background-color: grey !important; 
    color: white; 
}

    .button-read-grey:hover {
        background-color: darkgrey !important;
    }

.notification-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 380px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

/* Customize the scrollbar */
.notification-dropdown::-webkit-scrollbar {
    width: 6px; /* Width of the scrollbar */
}

.notification-dropdown::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); /* Color of the scrollbar thumb */
    border-radius: 3px; /* Rounded corners for the thumb */
}

.notification-dropdown h4 {
    margin: 0;
    padding: 10px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ddd;
}

.notification-dropdown ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.notification-messageText {
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    width: 100%;
}

.notification-content span {
    flex: 1;
    margin-right: 10px;
}

.notification-content button {
    padding: 5px 10px;
    font-size: 12px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.notification-content button:hover {
    background-color: #0056b3;
}

.notification-dropdown ul li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    width: 100%;
}

.notification-dropdown ul li:last-child {
    border-bottom: none;
}

.notification-dropdown ul li.unread {
    font-weight: bold;
}

a:focus #notification-container,
a:focus #notification-bell-div {
    background-color: transparent;
    box-shadow: none;
}

#notification-container:not(:hover) #notification-dropdown {
    display: none;
}


#show-notifications-bell {
    padding: 0;
}

.notification-bell {
    padding: 15px 15px;
}