/* Professional Notification System - Nutriprime */

#notification-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.notification-toast {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 1.25rem;
    min-width: 320px;
    max-width: 450px;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.notification-toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--primary);
}

.notification-toast.error::before {
    background: #ef4444;
}

.notification-toast.warning::before {
    background: #f59e0b;
}

.notification-toast.success::before {
    background: #10b981;
}

.notification-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-content {
    flex-grow: 1;
}

.notification-title {
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
    color: var(--text-primary);
}

.notification-message {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.notification-close {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    font-size: 1.25rem;
    padding: 0.25rem;
}

.notification-close:hover {
    opacity: 1;
}

.notification-toast.hide {
    opacity: 0;
    transform: translateX(100%) scale(0.9);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (max-width: 480px) {
    #notification-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .notification-toast {
        min-width: unset;
        width: 100%;
    }
}