.app-notify {
    position: fixed;
    z-index: 10800;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(356px, calc(100vw - 32px));
    pointer-events: none;
}

.app-notify--top-left { top: 20px; left: 20px; }
.app-notify--top-center { top: 20px; left: 50%; transform: translateX(-50%); }
.app-notify--top-right { top: 20px; right: 20px; }
.app-notify--bottom-left { bottom: 20px; left: 20px; }
.app-notify--bottom-center { bottom: 20px; left: 50%; transform: translateX(-50%); }
.app-notify--bottom-right { right: 20px; bottom: 20px; }

.app-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 13px 14px;
    border: 1px solid #c9ddf4;
    border-radius: 8px;
    background: #f0f7ff;
    box-shadow: 0 4px 13px rgba(37, 90, 145, .12);
    color: #0070e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    opacity: 0;
    pointer-events: auto;
    transform: translateY(-10px) scale(.985);
    transition: opacity .18s ease, transform .18s ease;
}

.app-toast--visible { opacity: 1; transform: translateY(0) scale(1); }
.app-toast--leaving { opacity: 0; transform: translateY(-8px) scale(.985); }
.app-toast__icon {
    display: inline-grid;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    place-items: center;
    border-radius: 50%;
    background: #0879e5;
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}
.app-toast__message { flex: 1; min-width: 0; }
.app-toast__close {
    width: 22px;
    height: 22px;
    margin: -2px -4px -2px 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: currentColor;
    cursor: pointer;
    font-size: 20px;
    line-height: 18px;
    opacity: .6;
}
.app-toast__close:hover { background: rgba(0, 112, 224, .09); opacity: 1; }

.app-toast--success { border-color: #bce8d3; background: #effbf5; color: #14734b; }
.app-toast--success .app-toast__icon { background: #168255; }
.app-toast--warning { border-color: #f1dcad; background: #fff9e9; color: #9b6512; }
.app-toast--warning .app-toast__icon { background: #b97916; }
.app-toast--error { border-color: #f0c6ce; background: #fff4f5; color: #b12342; }
.app-toast--error .app-toast__icon { background: #c42b4a; }

@media (max-width: 480px) {
    .app-notify--top-left, .app-notify--top-right, .app-notify--bottom-left, .app-notify--bottom-right {
        right: 16px;
        left: 16px;
        width: auto;
    }
}
