
/* IdleDock: demonstração de notificações */
.idledock-activity {
    position: fixed;
    left: max(20px, env(safe-area-inset-left));
    bottom: max(20px, env(safe-area-inset-bottom));
    width: min(330px, calc(100vw - 40px));
    z-index: 9999;
    font-family: inherit;
    color: #f4f7fa;
    pointer-events: none;
}
.idledock-activity * {
    box-sizing: border-box;
}
.idledock-activity [hidden] {
    display: none !important;
}
.idledock-activity__card {
    position: relative;
    padding: 17px;
    border: 1px solid rgba(104, 226, 232, .28);
    border-radius: 18px;
    background: rgba(15, 22, 30, .96);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, .25),
        0 0 18px rgba(65, 220, 230, .07);
    pointer-events: auto;
}
.idledock-activity__toast {
    margin-bottom: 10px;
    overflow: hidden;
    animation: idleDockActivityEnter .4s ease-out both;
}
.idledock-activity__row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.idledock-activity__icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(99, 222, 229, .12);
    color: #83edf1;
}
.idledock-activity__icon svg {
    width: 22px;
    height: 22px;
}
.idledock-activity__label {
    margin: 0 0 7px;
    color: #dec17a;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .035em;
}
.idledock-activity__message {
    margin: 0;
    font-size: .875rem;
    line-height: 1.5;
    color: #dfe6ed;
}
.idledock-activity__message strong {
    color: #fff;
}
.idledock-activity__plan {
    color: #83edf1;
    font-weight: 700;
}
.idledock-activity__counter {
    padding-right: 42px;
}
.idledock-activity__number {
    color: #83edf1;
    font-size: 1.125rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.idledock-activity__close {
    position: absolute;
    right: 5px;
    top: 5px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #b6c1cc;
    font: inherit;
    font-size: 1.3rem;
    cursor: pointer;
}
.idledock-activity__close:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}
.idledock-activity__close:focus-visible {
    outline: 2px solid #83edf1;
    outline-offset: 1px;
}
.idledock-activity__toast::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, #68dfe7, #dec17a);
    transform-origin: left;
    animation: idleDockActivityTimer 8s linear forwards;
}
@keyframes idleDockActivityEnter {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes idleDockActivityTimer {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .idledock-activity__toast,
    .idledock-activity__toast::after {
        animation: none;
    }
}
