
/* 
 * TZQ Toast Notifications
 * Extracted and Modernized for Theme 5.0
 */

#tzq-toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.tzq-toast {
    position: relative;
    min-width: 320px;
    max-width: 420px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    gap: 1rem;
    border-left: 4px solid var(--tzq-primary);
    transform: translateX(120%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: all;
}

.tzq-toast--visible {
    transform: translateX(0);
}

.tzq-toast--success { border-left-color: var(--tzq-success); }
.tzq-toast--error { border-left-color: var(--tzq-error); }
.tzq-toast--warning { border-left-color: var(--tzq-warning); }
.tzq-toast--info { border-left-color: var(--tzq-primary); }

.tzq-toast__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.tzq-toast__body {
    flex: 1;
    min-width: 0;
}

.tzq-toast__title {
    font-weight: 800;
    font-size: 0.9375rem;
    color: var(--tzq-text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.tzq-toast__message {
    font-size: 0.875rem;
    color: var(--tzq-text-secondary);
    line-height: 1.4;
}

.tzq-toast__close {
    background: transparent;
    border: none;
    color: var(--tzq-text-muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem;
    margin: -0.25rem;
    transition: color 0.2s;
}

.tzq-toast__close:hover {
    color: var(--tzq-error);
}

@media (max-width: 576px) {
    #tzq-toast-container {
        bottom: 80px; /* Above bottom bar */
        left: 1rem;
        right: 1rem;
    }
    .tzq-toast {
        min-width: 0;
        max-width: 100%;
    }
}
