/* Notification Bell & Dropdown Styles */

.notification-dropdown {
    padding: 0;
}

.notification-dropdown .notification-summary-stats {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.notification-dropdown .stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.notification-dropdown .stat-chip.positive {
    background-color: var(--bs-success-bg-subtle, #d1e7dd);
    color: var(--bs-success-text-emphasis, #0a3622);
}

.notification-dropdown .stat-chip.negative {
    background-color: var(--bs-danger-bg-subtle, #f8d7da);
    color: var(--bs-danger-text-emphasis, #58151c);
}

.notification-dropdown .stat-chip.neutral {
    background-color: var(--bs-info-bg-subtle, #cff4fc);
    color: var(--bs-info-text-emphasis, #055160);
}

.notification-dropdown .location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--bs-border-color-translucent, #dee2e6);
    font-size: 0.8125rem;
}

.notification-dropdown .location-item:last-child {
    border-bottom: none;
}

.notification-dropdown .location-name {
    font-weight: 500;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-dropdown .location-stats {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.notification-dropdown .fill-rate-bar {
    width: 50px;
    height: 6px;
    background-color: var(--bs-secondary-bg, #e9ecef);
    border-radius: 3px;
    overflow: hidden;
}

.notification-dropdown .fill-rate-bar-inner {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.notification-dropdown .ai-summary {
    background-color: var(--bs-tertiary-bg, #f8f9fa);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    border-left: 3px solid var(--bs-primary, #0d6efd);
}

.notification-dropdown .ai-summary-btn {
    font-size: 0.75rem;
}

.notification-dropdown .no-activity {
    text-align: center;
    color: var(--bs-secondary-color, #6c757d);
    padding: 1rem 0;
}

.notification-dropdown .no-activity i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Badge pulse animation for new notifications */
@keyframes notification-pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

#notificationBadge.has-new {
    animation: notification-pulse 2s ease-in-out 3;
}
