/* Download Notifications Styling */
.download-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    max-width: 350px;
    animation: slide-in 0.3s ease-out;
    border-left: 4px solid #4CAF50;
}

.download-notification.download-started {
    border-left-color: #2196F3;
}

.download-notification.download-success {
    border-left-color: #4CAF50;
}

.download-notification.download-error {
    border-left-color: #F44336;
}

.download-notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-notification i {
    font-size: 20px;
}

.download-notification.download-started i {
    color: #2196F3;
}

.download-notification.download-success i {
    color: #4CAF50;
}

.download-notification.download-error i {
    color: #F44336;
}

.download-notification span {
    font-size: 14px;
    color: #333;
}

.close-notification {
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 0 0 0 10px;
}

.close-notification:hover {
    color: #333;
}

.count-updated {
    animation: pulse 1s ease-in-out;
    font-weight: bold;
}

@keyframes slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
        color: #4CAF50;
    }
    100% {
        transform: scale(1);
    }
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
    .download-notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
