/* Notification Toasts - Blueprint Part 5.3 */

.notification-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification {
    min-width: 250px;
    padding: 16px 24px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--color-primary-gold);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform var(--transition-slow) var(--easing-out);
}

.notification.show {
    transform: translateX(0);
}

.notification.success { border-left-color: var(--color-success); }
.notification.error { border-left-color: var(--color-danger); }

.notification-message {
    font-size: var(--font-body-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
}

/* Add-to-cart animations */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.btn-error {
    animation: shake 0.3s ease-in-out;
    background: var(--color-danger) !important;
}

/* Spinner for loading state */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
