.accordion-button.text-white::after {
    filter: invert(1);
}

.acc-body pre {
    max-height: 320px;
    overflow: auto;
}

.acc-headers {
    max-height: 240px;
    overflow: auto;
}

#responsesAccordion .accordion-item {
    margin-bottom: 12px;
    border-radius: .5rem; /* opcional: cantos arredondados */
    overflow: hidden; /* mantém o header colorido sem vazar */
}

    #responsesAccordion .accordion-item:last-child {
        margin-bottom: 0;
    }

.json-editor {
    display: grid;
    grid-template-columns: 3.2rem 1fr;
    height: 380px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    background: #f8f9fa;
    border-top: 1px solid rgba(0,0,0,.05)
}

.json-lines {
    padding: .75rem .5rem;
    border-right: 1px solid rgba(0,0,0,.1);
    text-align: right;
    color: #6c757d;
    user-select: none;
    overflow: hidden;
    line-height: 1.5;
    white-space: pre
}

.json-code {
    padding: .75rem;
    white-space: pre;
    overflow: auto;
    line-height: 1.5;
    caret-color: #000
}

    .json-code:focus {
        outline: none
    }

.token.key {
    color: #0d6efd
}

.token.string {
    color: #198754
}

.token.number {
    color: #d63384
}

.token.boolean {
    color: #fd7e14
}

.token.null {
    color: #6c757d
}

.token.punct {
    color: #212529
}

.broadcast-pulse {
    animation: pulse 1.6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes pulse {
    0%,100% {
        transform: scale(1);
        opacity: .85;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .broadcast-pulse {
        animation: none;
    }
}

