.fs-toast-provider-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    padding: 16px;
}

.fs-toast-provider-wrapper .fs-toast-container,
.fs-toast-provider-wrapper .dxbl-toast-template {
    margin-bottom: 4px !important;
}
.fs-toast-provider-wrapper .fs-toast-container:last-child,
.fs-toast-provider-wrapper .dxbl-toast-template:last-child {
    margin-bottom: 0 !important;
}

.dxbl-toast-accent-line,
.fs-toast-container .dxbl-toast-accent-line {
    display: none !important;
}

.fs-toast-provider-wrapper .dxbl-toast-icon-column,
.fs-toast-provider-wrapper .dxbl-toast-text-content {
    display: none !important;
}

.fs-toast-provider-wrapper .dxbl-toast-content,
.fs-toast-provider-wrapper .dxbl-toast-body {
    padding: 0 !important;
    min-height: 0 !important;
}

.fs-toast-container,
.dxbl-toast-template.fs-toast-container,
.dxbl-toast-template:has(.fs-toast) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
}

.fs-toast-container[class*="dxbl-toast"],
.dxbl-toast[class*="info"],
.dxbl-toast[class*="success"],
.dxbl-toast[class*="warning"],
.dxbl-toast[class*="danger"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Override DevExpress slide animation with fade-in */
.fs-toast-provider-wrapper .dxbl-toast-template,
.fs-toast-provider-wrapper .fs-toast-container {
    animation: fs-toast-fade-in 0.25s ease-out !important;
    transform: none !important;
}

.fs-toast {
    width: 320px;
    border-radius: 6px;
    box-shadow: none;
    border: none;
    outline: none;
    overflow: hidden;
    background: white;
    color: #1D1D1B;
}

.fs-toast-topbar {
    height: 5px;
    width: 100%;
}

.fs-toast.fs-toast-success .fs-toast-topbar {
    background: #16a34a;
}

.fs-toast.fs-toast-error .fs-toast-topbar {
    background: #dc2626;
}

.fs-toast.fs-toast-warning .fs-toast-topbar {
    background: #eab308;
}

.fs-toast.fs-toast-info .fs-toast-topbar {
    background: #2563eb;
}

.fs-toast-body {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    background: white;
}

.fs-toast-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-toast.fs-toast-success .fs-toast-icon {
    color: #16a34a;
}

.fs-toast.fs-toast-error .fs-toast-icon {
    color: #dc2626;
}

.fs-toast.fs-toast-warning .fs-toast-icon {
    color: #eab308;
}

.fs-toast.fs-toast-info .fs-toast-icon {
    color: #2563eb;
}

.fs-toast-message {
    flex: 1;
    color: #1D1D1B;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.fs-toast-close {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    padding: 0;
    border-radius: 50%;
    background-color: transparent;
    color: #94a3b8;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.fs-toast-close:hover {
    color: inherit;
}

@keyframes fs-toast-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
