/**
 * ZAX Toasts Stylesheet
 * Toast notification styles
 *
 * @package ZAX_Comments
 * @version 1.0.0
 */

.zax-toasts-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.zax-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--zax-comments-surface, #2a2a2a);
    border: 1px solid var(--zax-comments-border, #444);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease-out;
    pointer-events: auto;
    /* REMOVED: backdrop-filter: blur(10px); - This was causing page blur issues */
}

.zax-toast--visible {
    opacity: 1;
    transform: translateX(0);
}

.zax-toast--success {
    border-left: 3px solid var(--zax-comments-success, #4caf50);
}

.zax-toast--error {
    border-left: 3px solid var(--zax-comments-error, #f44336);
}

.zax-toast--warning {
    border-left: 3px solid #ffa500;
}

.zax-toast--info {
    border-left: 3px solid var(--zax-comments-primary, #4a9eff);
}

.zax-toast__icon {
    font-size: 18px;
    font-weight: bold;
}

.zax-toast__message {
    flex: 1;
    font-size: 14px;
    color: var(--zax-comments-text, #e0e0e0);
}

.zax-toast__dismiss {
    background: transparent;
    border: none;
    color: var(--zax-comments-text-muted, #999);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.zax-toast__dismiss:hover {
    color: var(--zax-comments-text, #e0e0e0);
}

@media (max-width: 768px) {
    .zax-toasts-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .zax-toast {
        min-width: auto;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zax-toast {
        transition: none;
    }
}

