﻿/* ============================= */
/* Notification Popup */
/* ============================= */

.notification-popup {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    width: 380px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow: hidden;
}


/* Popup Header */

.notification-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}


/* Close button */

.notification-close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #555;
}


/* Notification list */

.notification-list {
    max-height: 450px;
    overflow-y: auto;
    padding: 10px;
}


/* Individual notification */

.notification-item {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
}


/* Unread notification */

.notification-unread {
    background-color: #0d6efd;
}


/* Read notification */

.notification-read {
    background-color: #6f42c1;
}


/* Title */

.notification-item-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}


/* Message */

.notification-item-message {
    font-size: 14px;
    margin-bottom: 5px;
}


/* Date */

.notification-item-date {
    font-size: 12px;
    opacity: 0.8;
}
