/* /assets/css/notifications.css */

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.unread {
    background: #f0f7ff;
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-message {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.notification-time {
    font-size: 12px;
    color: #999;
}

.notification-dot {
    width: 8px;
    height: 8px;
    background: #0a66c2;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #d11124;
    color: white;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid white;
}

/* Toast notification */
.live-notification {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 9999;
    max-width: 380px;
    width: 90%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.live-notification-content {
    padding: 16px;
}

.live-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.live-badge {
    background: #dc3545;
    color: white;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.live-notification-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

.btn-live {
    display: inline-block;
    background: #0a66c2;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

.btn-live:hover {
    background: #004182;
    color: white;
}