.notification-item {
    position: relative;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    flex-direction: column;
    font-size: 14px;
    justify-content: flex-start;
}


.notification-item .info {
    background-color: #f4f6f8;
}

.notification-item .alert {
    background-color: #fce8e8;
}

.notification-item .danger {
    background-color: #f8d7da;
}

.notification-item .indicator {
    position: absolute;
    right: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: #007bff;
}


.notification-item .text {
    flex-grow: 1;
}

.notification-item .notification-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.notification-item .mark-read {
    margin-top: 5px;
    font-size: 12px;
    color: #007bff;
    cursor: pointer;
    padding: 5px 15px;

}

.notification-item .time {
    font-size: 12px;
    color: #6c757d;
}

.notification-item .btn-link {
    text-decoration: none;
}

.notification-item .actions {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.notification-item .actions button {
    margin-top: 5px;
    font-size: 12px;
}

.notification-item .actions a {
    font-size: 12px;
    color: #007bff;
    text-decoration: none;
}

.notification-item {
    direction: rtl;
    text-align: right;
}


.notification-item .flex-grow-1 h6 {
    direction: rtl;
    text-align: right;
    padding: 2px;
}


.notification-item:hover {
    background-color: #f2f2f2;
}

.notification-item:active {
    background-color: #bbdefb;
}


.notification-item.info .indicator {
    background-color: #3494fa;
}


.notification-item.warning .indicator {
    background-color: #fbbd08;
}

.notification-item.error .indicator {
    background-color: #f04444;
}

.notification-item.info .mark-read {
    color: #3494fa;
}


.notification-item.warning .mark-read {
    color: #fbbd08;
}

.notification-item.error .mark-read {
    color: #f04444;

}

.mark-read {
    font-weight: bold;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 10px 20px;
    background-color: transparent;
    /* border: 2px solid #007bff; */
    /* border-radius: 20px; */
    cursor: pointer;
    /* transition: background-color 0.3s ease, color 0.3s ease; */
    display: inline-block;
    text-align: center;
}

.mark-read:hover {
    background-color: var(--button-bg-color);
    color: white;
    transform: scale(1.05);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.notification-item.info .mark-read:hover {
    --button-bg-color: #3494fa;
    color: white;
}

.notification-item.warning .mark-read:hover {
    --button-bg-color: #fbbd08;
    color: white;
}

.notification-item.error .mark-read:hover {
    --button-bg-color: #f04444;
    color: white;
}

.notification-item .notification-title {
    display: inline-flex;

}