/* Notification Panel Styles */
.notifications-panel {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    background-color: var(--surface-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
}

body.dark-mode .notifications-panel {
    background-color: var(--surface-dark);
}

.notifications-panel.show {
    display: block;
}

/* Notification Item Styles */
.notification-item {
    display: flex;
    padding: 12px;
    border-bottom: 1px solid var(--border-color-light);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

body.dark-mode .notification-item {
    border-bottom-color: var(--border-color-dark);
}

.notification-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

body.dark-mode .notification-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.notification-item.unread {
    background-color: rgba(98, 0, 238, 0.05);
}

body.dark-mode .notification-item.unread {
    background-color: rgba(187, 134, 252, 0.05);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.notification-content {
    flex: 1;
}

.notification-message {
    margin-bottom: 4px;
}

.notification-time {
    font-size: var(--font-size-xs);
    color: var(--text-secondary-light);
}

body.dark-mode .notification-time {
    color: var(--text-secondary-dark);
}

.notification-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin-left: 8px;
    align-self: center;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--border-color-light);
}

body.dark-mode .notifications-header {
    border-bottom-color: var(--border-color-dark);
}
/* Delete button styling */
.notification-delete {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.notification-item {
    position: relative;
}

.notification-item:hover .notification-delete {
    opacity: 1;
}

.notification-delete:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.notification-delete i {
    font-size: 12px;
    color: #666;
}