/* Toast Notifications */
.portal-toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    /* Allow clicks to pass through container */
}

.portal-toast {
    background: #1e1e1e;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: auto;
    /* Re-enable pointer events for toasts */
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.portal-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.portal-toast .toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-toast .toast-content {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.portal-toast .toast-close {
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.portal-toast .toast-close:hover {
    color: white;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
}

/* Toast Variations */
.toast-success {
    border-left: 4px solid var(--success-text);
}

.toast-success .toast-icon {
    color: var(--success-text);
}

.toast-error {
    border-left: 4px solid var(--error-text);
}

.toast-error .toast-icon {
    color: var(--error-text);
}

.toast-warning {
    border-left: 4px solid var(--warning-text);
}

.toast-warning .toast-icon {
    color: var(--warning-text);
}

.toast-info {
    border-left: 4px solid var(--accent);
}

.toast-info .toast-icon {
    color: var(--accent);
}#css-loaded-css-portal-toast-css { font-family: 'css-loaded' }