.rl-toast-wrap {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: min(92vw, 380px);
    pointer-events: none;
}

.rl-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.rl-toast.is-show {
    opacity: 1;
    transform: translateY(0);
}

.rl-toast.is-hide {
    opacity: 0;
    transform: translateY(-8px);
}

.rl-toast__icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.1rem;
    font-size: 1.1rem;
    line-height: 1;
}

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

.rl-toast__title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.15rem;
}

.rl-toast__text {
    display: block;
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.95;
}

.rl-toast__close {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: inherit;
    opacity: 0.8;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0;
    margin-top: -0.1rem;
}

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

.rl-toast--error {
    background: #dc3545;
}

.rl-toast--success {
    background: #28a745;
}

.rl-toast--warning {
    background: #e0a800;
    color: #1a1a1a;
}

.rl-toast--info {
    background: #17a2b8;
}
