/* Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    width: 100%;
}

.notification {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    margin-bottom: 15px;
    padding: 20px;
    transform: translateX(450px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid #28a745;
    position: relative;
    overflow: hidden;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: #28a745;
}

.notification.error {
    border-left-color: #dc3545;
}

.notification.info {
    border-left-color: #17a2b8;
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
    color: white;
}

.notification.success .notification-icon {
    background: #28a745;
}

.notification.error .notification-icon {
    background: #dc3545;
}

.notification.info .notification-icon {
    background: #17a2b8;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.notification-close:hover {
    background: #f8f9fa;
    color: #495057;
}

.notification-content {
    display: flex;
    align-items: center;
}

.notification-product {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.notification-product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.notification-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-product-details {
    flex: 1;
    min-width: 0;
}

.notification-product-name {
    font-weight: 600;
    color: #2a395a;
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-product-price {
    color: #d32f2f;
    font-weight: 700;
    font-size: 16px;
}

.notification-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.notification-btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.notification-btn-primary {
    background: #ffd700;
    color: #2a395a;
}

.notification-btn-primary:hover {
    background: #2a395a;
    color: white;
}

.notification-btn-secondary {
    background: #6c757d;
    color: white;
}

.notification-btn-secondary:hover {
    background: #545b62;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #28a745;
    width: 100%;
    transform-origin: left;
    animation: progressBar 5s linear forwards;
}

.notification.error .notification-progress {
    background: #dc3545;
}

.notification.info .notification-progress {
    background: #17a2b8;
}

@keyframes progressBar {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        transform: translateY(-100px);
        padding: 15px;
    }
    
    .notification.show {
        transform: translateY(0);
    }
    
    .notification-product-image {
        width: 50px;
        height: 50px;
    }
    
    .notification-product-name {
        font-size: 14px;
    }
    
    .notification-product-price {
        font-size: 15px;
    }
    
    .notification-actions {
        margin-top: 12px;
    }
    
    .notification-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}
