
    /* Container positions */
.jq-toast-container {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    max-width: calc(100% - 40px);
}
.jq-toast-top-right    { top: 12px; right: 12px; align-items: flex-end; }
.jq-toast-top-left     { top: 12px; left: 12px;  align-items: flex-start; }
.jq-toast-bottom-right { bottom: 12px; right: 12px; align-items: flex-end; }
.jq-toast-bottom-left  { bottom: 12px; left: 12px;  align-items: flex-start; }

/* Toast card */
.jq-toast {
    pointer-events: auto;
    min-width: 260px;
    max-width: 420px;
    background: #fff;
    color: #111;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(20,20,40,0.12);
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    overflow: hidden;
    transform-origin: right top;
    border-left: 6px solid transparent;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    transition: transform 240ms cubic-bezier(.2,.9,.2,1), opacity 200ms ease;
    opacity: 0;
    transform: translateY(-8px) scale(.98);
}

.jq-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.jq-toast .icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;



<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>

</body>
</html>

border-radius: 8px;
    background: rgba(0,0,0,0.04);
    font-weight: 700;
    font-size: 16px;
}
.jq-toast .content {
    flex: 1 1 auto;
    min-width: 0;
}
.jq-toast .title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    line-height: 1.1;
}
.jq-toast .message {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.2;
    word-break: break-word;
}
.jq-toast .close-btn {
    margin-left: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.6;
    padding: 4px;
}
.jq-toast .close-btn:hover { opacity: 1; }

/* Type colors */
.jq-toast.success { border-left-color: #2ecc71; }
.jq-toast.info    { border-left-color: #3498db; }
.jq-toast.warning { border-left-color: #f1c40f; }
.jq-toast.error   { border-left-color: #e74c3c; }

/* Accent icon backgrounds (subtle) */
.jq-toast.success .icon { background: rgba(46,204,113,0.12); color: #27ae60; }
.jq-toast.info    .icon { background: rgba(52,152,219,0.10); color: #2c82c9; }
.jq-toast.warning .icon { background: rgba(241,196,15,0.10); color: #b88900; }
.jq-toast.error   .icon { background: rgba(231,76,60,0.10); color: #c0392b; }

/* accessible focus outline */
.jq-toast:focus { outline: 3px solid rgba(0,0,0,0.06); }

/* small screens */
@media (max-width:420px) {
    .jq-toast { min-width: 200px; max-width: calc(100vw - 28px); }
    .jq-toast .icon { width: 32px; height: 32px; }
}
