.operation-toast-host {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1300;
    display: flex;
    justify-content: center;
    pointer-events: none;
    padding: 0 16px;
}

body:has(.panel-navbar:not(.d-none)) .operation-toast-host {
    top: var(--navbar-height, 88px);
}

.operation-toast {
    pointer-events: auto;
    width: min(760px, 100%);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
    transform: translateY(-16px);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
    direction: rtl;
    text-align: right;
}

.operation-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.operation-toast--success {
    background: #047857;
    color: #fff;
}

.operation-toast--error {
    background: #b91c1c;
    color: #fff;
}

.operation-toast--warning {
    background: #b45309;
    color: #fff;
}

.operation-toast--info {
    background: #1d4ed8;
    color: #fff;
}

.operation-toast__icon {
    font-size: 22px;
    line-height: 1;
    margin-top: 2px;
    flex-shrink: 0;
}

.operation-toast__body {
    flex: 1;
    min-width: 0;
}

.operation-toast__title {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 2px;
}

.operation-toast__message {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.operation-toast__close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    padding: 0;
}

.operation-toast__close:hover {
    opacity: 1;
}
