.tebnegar-app-version-badge {
    position: fixed;
    bottom: 0.35rem;
    inset-inline-end: 0.5rem;
    z-index: 9999;
    font-size: 0.65rem;
    line-height: 1.2;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #64748b;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e2e8f0;
    border-radius: 0.25rem;
    padding: 0.15rem 0.4rem;
    pointer-events: none;
    max-width: min(40vw, 16rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.85;
}

.tebnegar-app-update-prompt,
.version-check-banner {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 14000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.65rem 1rem;
    background: #0f766e;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    pointer-events: auto;
}

.tebnegar-app-update-button,
.version-check-refresh {
    appearance: none;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.tebnegar-app-update-button:hover,
.version-check-refresh:hover {
    background: rgba(255, 255, 255, 0.32);
}
