/**
 * Notification System Styles
 */

/* Toast Notification */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-toast-icon {
    font-size: 24px;
    animation: bell-ring 0.5s ease-in-out;
}

.notification-toast-text {
    font-size: 16px;
    font-weight: 600;
}

/* Bell ring animation */
@keyframes bell-ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

/* Badge pulse animation */
.notification-pulse {
    animation: badge-pulse 1s ease-in-out;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.2);
    }
}

/* Badge glow effect */
[data-notification-count] {
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.8);
    }
}

/* RTL Support */
html[dir="rtl"] .notification-toast {
    right: auto;
    left: 20px;
    transform: translateX(-400px);
}

html[dir="rtl"] .notification-toast.show {
    transform: translateX(0);
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .notification-toast {
        right: 10px;
        left: 10px;
        width: auto;
    }
    
    html[dir="rtl"] .notification-toast {
        left: 10px;
        right: 10px;
    }
}

