/* Compact Liveweave notifications layered over the legacy Alertify component. */
.alertify-logs {
    right: 20px;
    bottom: 48px;
    width: min(340px, calc(100vw - 32px));
}
.alertify-log {
    box-sizing: border-box;
    position: relative;
    top: auto;
    min-height: 46px;
    margin-top: 10px;
    padding: 12px 14px 12px 42px;
    overflow: hidden;
    border: 1px solid #303744;
    border-radius: 10px;
    color: #dce3ec;
    background: rgba(18, 22, 28, .96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .42), inset 0 1px rgba(255,255,255,.035);
    backdrop-filter: blur(16px);
    font: 600 13px/1.45 Inter, "Open Sans", system-ui, sans-serif;
    text-shadow: none;
    transition: right .22s ease, opacity .22s ease, transform .22s ease;
}
.alertify-log::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 14px;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(52,191,241,.22);
    border-top-color: #34bff1;
    border-right-color: #8c7cff;
    border-radius: 50%;
    animation: lw-toast-spin .72s linear infinite;
}
.alertify-log::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg,#34bff1,#8c7cff,#43d7a1);
}
.alertify-log-success {
    color: #d9f8ec;
    border-color: rgba(67,215,161,.28);
    background: rgba(16, 28, 25, .97);
}
.alertify-log-success::before {
    content: "✓";
    display: grid;
    place-items: center;
    border-color: rgba(67,215,161,.5);
    color: #76e6bd;
    background: rgba(67,215,161,.12);
    font: 800 11px/1 Inter,system-ui,sans-serif;
    animation: none;
}
.alertify-log-error {
    color: #ffd5d9;
    border-color: rgba(255,135,146,.34);
    background: rgba(35, 20, 24, .97);
}
.alertify-log-error::before {
    content: "!";
    display: grid;
    place-items: center;
    border-color: rgba(255,135,146,.5);
    color: #ff9ca5;
    background: rgba(255,135,146,.12);
    font: 800 11px/1 Inter,system-ui,sans-serif;
    animation: none;
}
button[form="myform"][aria-busy="true"] { opacity:.68; cursor:wait !important; }
@keyframes lw-toast-spin { to { transform: rotate(360deg); } }
@media (max-width: 520px) {
    .alertify-logs { right: 16px; bottom: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .alertify-log::before { animation-duration: 1.8s; }
}
