/* Notification Styles */
.notification-bell {
    position: relative;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-primary);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
}

.notification-bell:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.dark-mode .notification-bell:hover {
    background: rgba(255, 255, 255, 0.05);
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ef4444;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.notification-dropdown {
    position: absolute;
    top: 60px;
    right: 16px;
    width: 360px;
    max-height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    z-index: 999;
    animation: slideDown 0.3s;
}

body.dark-mode .notification-dropdown {
    background: var(--surface);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.notification-dropdown.show {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-header {
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 700;
    font-size: 16px;
}

body.dark-mode .notification-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.notification-list {
    overflow-y: auto;
    max-height: 400px;
}

.notification-item {
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s;
}

body.dark-mode .notification-item {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.notification-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

body.dark-mode .notification-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.notification-item.unread {
    background: rgba(37, 99, 235, 0.05);
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #2563eb;
    border-radius: 50%;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.notification-message {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.notification-time {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
}

.notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.notification-empty i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .notification-dropdown {
        right: 8px;
        left: 8px;
        width: auto;
    }
}