#blitzy-toast-container {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    width: 25vw;
    max-width: 25vw;
    pointer-events: none;
    z-index: 999999;
}

@media (max-width: 1200px) {
    #blitzy-toast-container {
        width: 85vw;
        max-width: 85vw;
    }
}

.blitzy-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 40px 12px 12px;
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;

    --tx: 120%;
    --ty: 0px;

    transform: translateX(var(--tx)) translateY(var(--ty));
    opacity: 0;

    transition:
        transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 300ms ease,
        height 300ms ease,
        margin 300ms ease,
        padding 300ms ease;
    will-change: transform, opacity, height, margin, padding;
}

.blitzy-toast.is-visible {
    --tx: 0%;
    opacity: 1;
}

.blitzy-toast.is-leaving {
    --tx: 120%;
    opacity: 0;

    height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.blitzy-toast__text {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.35;
    font-family: "Rubik", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    flex: 1 1 auto;
    min-width: 0;
}

.blitzy-toast__icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.blitzy-toast__close {
    position: absolute;
    right: 8px;
    top: 6px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: opacity 160ms ease, transform 160ms ease;
}
.blitzy-toast__close:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.blitzy-toast--info { background: #2563eb; }
.blitzy-toast--success { background: #16a34a; }
.blitzy-toast--alert { background: #d97706; }
.blitzy-toast--error { background: #dc2626; }

.blitzy-toast::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.25);
}
