.app-toasts {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(380px, calc(100vw - 32px));
    pointer-events: none;
}

.app-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: auto;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    box-shadow: 0 10px 28px rgba(28, 39, 58, 0.12);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.app-toast.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.app-toast.is-leaving {
    opacity: 0;
    transform: translateX(12px);
}

.app-toast__body {
    flex: 1;
    margin: 0;
}

.app-toast__close {
    flex: none;
    margin: -4px -6px 0 0;
    border: 0;
    background: transparent;
    color: inherit;
    opacity: 0.55;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 6px;
}

.app-toast__close:hover,
.app-toast__close:focus-visible {
    opacity: 1;
    outline: none;
}

.app-toast--success {
    background: #e8f5ee;
    border-color: #8bc9a8;
    color: #216b45;
}

.app-toast--error {
    background: #fceeee;
    border-color: #e39a9a;
    color: #9a3333;
}

.app-toast--warning {
    background: #fff6e8;
    border-color: #e2bd78;
    color: #8a5a14;
}

.app-toast--info {
    background: #eaf3fb;
    border-color: #8bb4db;
    color: #25598a;
}
