/**
 * Sistam de Notificações Toast Modernas - QXB Design System
 */

#qxb-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
    width: calc(100% - 40px);
    pointer-events: none;
}

.qxb-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.qxb-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.qxb-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: bold;
}

.qxb-toast-success {
    border-left: 4px solid #10b981;
}
.qxb-toast-success .qxb-toast-icon {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.qxb-toast-error {
    border-left: 4px solid #ef4444;
}
.qxb-toast-error .qxb-toast-icon {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.qxb-toast-info {
    border-left: 4px solid #3b82f6;
}
.qxb-toast-info .qxb-toast-icon {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.qxb-toast-warning {
    border-left: 4px solid #f59e0b;
}
.qxb-toast-warning .qxb-toast-icon {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.qxb-toast-content {
    flex-grow: 1;
    line-height: 1.4;
}

.qxb-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 18px;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.qxb-toast-close:hover {
    color: #475569;
}
