/* Notification System Styles */

/* Bell notification badge */
.notification-bell-badge {
    font-size: 0.625rem;
    padding: 0.25em 0.4em;
    min-width: 1.2em;
    height: 1.2em;
    line-height: 1;
    text-align: center;
}

/* Dropdown notification count badge */
.notification-count-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: 0.375rem;
}

/* Notification items in dropdown */
.notification-item {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    border-bottom: 1px solid var(--pt-dropdown-border, rgba(255,255,255,0.08));
    transition: background-color 0.15s ease-in-out;
    color: var(--pt-dropdown-item-color, inherit);
}

.notification-item:hover {
    background-color: var(--pt-dropdown-item-hover-bg, rgba(255,255,255,0.08));
    color: var(--pt-dropdown-item-hover-color, inherit);
    text-decoration: none;
}

.notification-item:last-child {
    border-bottom: none;
}

/* Notification priority colors */
.avatar-label-primary {
    background-color: var(--pt-primary, #007bff);
    color: var(--pt-btn-primary-text, #ffffff);
}

.avatar-label-warning {
    background-color: var(--pt-warning, #ffc107);
    color: #000;
}

.avatar-label-danger {
    background-color: var(--pt-danger, #dc3545);
    color: white;
}

/* Toast notification styles */
.notification-toast {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Pulse animation for new notifications */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.notification-pulse {
    animation: pulse 1s ease-in-out infinite;
}

/* Bell icon hover effect */
#page-header-notifications-dropdown {
    transition: transform 0.2s ease-in-out;
}

#page-header-notifications-dropdown:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notification-bell-badge {
        font-size: 0.5rem;
        min-width: 1rem;
        height: 1rem;
    }
    
    .notification-count-badge {
        font-size: 0.65rem;
        padding: 0.25em 0.5em;
    }
}