/* ============================================
   NOTIFICATION DROPDOWN STYLES
   ============================================ */

.notification-dropdown {
    position: relative;
}

.notification-dropdown .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 20px;
    min-width: 18px;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.notification-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
    border-radius: 12px 12px 0 0;
}

.notification-dropdown-list {
    max-height: 380px;
    overflow-y: auto;
}

.notification-dropdown-list::-webkit-scrollbar {
    width: 4px;
}

.notification-dropdown-list::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.notification-dropdown-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.notification-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.notification-dropdown-item:hover {
    background: var(--bg-secondary);
}

.notification-dropdown-item.unread {
    background: rgba(99, 102, 241, 0.05);
}

.notification-dropdown-item .notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.notification-dropdown-item .notification-content {
    flex: 1;
    min-width: 0;
}

.notification-message-small {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-message-small strong {
    font-weight: 600;
}

.notification-time-small {
    font-size: 11px;
    color: var(--text-muted);
}

.notification-unread-dot {
    width: 8px;
    height: 8px;
    background: #6366f1;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.notification-dropdown-footer {
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
    border-radius: 0 0 12px 12px;
}

.notification-dropdown-footer .btn-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
}

.notification-dropdown-footer .btn-link:hover {
    text-decoration: underline;
}

.btn-link-reset {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
}

.btn-link-reset:hover {
    background: rgba(0,0,0,0.05);
}

/* Dark mode styles */
body.dark-mode .notification-dropdown-item:hover {
    background: var(--bg-secondary);
}

body.dark-mode .notification-dropdown-item.unread {
    background: rgba(99, 102, 241, 0.1);
}

body.dark-mode .btn-link-reset:hover {
    background: rgba(255,255,255,0.05);
}