.ifresh-kb-badge {
    position: fixed;
    z-index: 2400;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 41, 55, 0.12);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 28px rgba(31, 41, 55, 0.16);
    color: #1f2937;
    font: 650 0.82rem/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
    pointer-events: none;
    backdrop-filter: blur(8px);
}

.ifresh-kb-badge[hidden] {
    display: none !important;
}

.ifresh-kb-badge__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.7rem;
    height: 1.7rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #eef2f7;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.ifresh-kb-badge.is-ar .ifresh-kb-badge__code {
    background: rgba(30, 136, 229, 0.14);
    color: #1565c0;
}

.ifresh-kb-badge.is-en .ifresh-kb-badge__code {
    background: #eceff1;
    color: #455a64;
}

[dir="rtl"] .ifresh-kb-badge {
    right: auto;
    left: 1rem;
}
