/* App Reference Badge Overlay */
.input-badge-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 12px 48px 12px 16px;
    font-size: 16px;
    font-family: inherit;
    line-height: inherit;
    white-space: pre-wrap;
    word-wrap: break-word;
    pointer-events: none;
    overflow: hidden;
    z-index: 3;
    color: transparent;
}

.app-reference-badge {
    display: inline-block;
    background: var(--qboid-yellow);
    color: #1A1A1A;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.4;
    vertical-align: baseline;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-reference-badge.loading::after {
    content: '...';
}

.app-reference-badge.error {
    background: #EF4444;
    color: white;
}

.app-reference-badge::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-image: url('/static/images/bot1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 3px;
    vertical-align: middle;
}
