/* Shopify-style Toast Notifications */
.shopify-toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.shopify-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-12px);
    animation: shopify-toast-in 0.3s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
    max-width: 500px;
    min-width: 280px;
}

.shopify-toast.shopify-toast-out {
    animation: shopify-toast-out 0.2s cubic-bezier(0.06, 0.71, 0.55, 1) forwards;
}

.shopify-toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shopify-toast-icon svg {
    width: 20px;
    height: 20px;
}

.shopify-toast-message {
    flex: 1;
    word-break: break-word;
}

.shopify-toast-close {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.15s ease;
    background: none;
    border: none;
    padding: 0;
    color: #fff;
}

.shopify-toast-close:hover {
    opacity: 1;
}

.shopify-toast-close svg {
    width: 16px;
    height: 16px;
}

/* Success variant */
.shopify-toast--success {
    background: #1a1a1a;
}

.shopify-toast--success .shopify-toast-icon svg {
    fill: #29845a;
}

/* Error variant */
.shopify-toast--error {
    background: #1a1a1a;
}

.shopify-toast--error .shopify-toast-icon svg {
    fill: #e51c00;
}

/* Warning variant */
.shopify-toast--warning {
    background: #1a1a1a;
}

.shopify-toast--warning .shopify-toast-icon svg {
    fill: #f5a623;
}

/* Info variant */
.shopify-toast--info {
    background: #1a1a1a;
}

.shopify-toast--info .shopify-toast-icon svg {
    fill: #5bcdda;
}

/* Animations */
@keyframes shopify-toast-in {
    0% {
        opacity: 0;
        transform: translateY(-12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shopify-toast-out {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-12px);
    }
}
